// 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:
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!"
)