ef59c0f5b64e5a3e76790855795a6393c5858963,deeplabcut/generate_training_dataset/multiple_individuals_labeling_toolbox.py,MainFrame,browseDir,#MainFrame#Any#,611

Before Change


            self.dataFrame.sort_index(inplace=True)
            self.prev.Enable(True)
            // Finds the first empty row in the dataframe and sets the iteration to that index
            for idx, j in enumerate(self.dataFrame.index):
                values = self.dataFrame.loc[j, :].values
                if np.prod(np.isnan(values)) == 1:
                    self.iter = idx
                    break
                else:
                    self.iter = idx
        except:
            // Create an empty data frame
            self.dataFrame = MainFrame.create_dataframe(
                self,

After Change


        self.multibodyparts = multianimalbodyparts
        // checks for unique bodyparts
        if len(self.multibodyparts) != len(set(self.multibodyparts)):
            print(
                "Error - bodyparts must have unique labels! Please choose unique bodyparts in config.yaml file and try again. Quitting for now!"
            )
            self.Close(True)

        self.uniquebodyparts = uniquebodyparts
        self.individual_names = individuals
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: AlexEMG/DeepLabCut
Commit Name: ef59c0f5b64e5a3e76790855795a6393c5858963
Time: 2020-05-27
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/generate_training_dataset/multiple_individuals_labeling_toolbox.py
Class Name: MainFrame
Method Name: browseDir


Project Name: NervanaSystems/nlp-architect
Commit Name: 11187c1fd28a0c9a11836aa8b27cc21e47b6855f
Time: 2018-11-11
Author: peteriz@users.noreply.github.com
File Name: nlp_architect/api/ner_api.py
Class Name: NerApi
Method Name: pretty_print


Project Name: data61/python-paillier
Commit Name: 8184b9fdf51e3f75835fe1f2d56c294d16686241
Time: 2017-06-20
Author: giorgio.patrini@anu.edu.au
File Name: examples/federated_learning_with_encryption.py
Class Name:
Method Name: