Skip to content

Commit

Permalink
Undefined name: subject --> index
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Feb 29, 2020
1 parent d67b6ff commit 7fcc7d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/data/BaseDataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_item(self, index):
}
return res
except:
print("Requested subject %s has missing files. Using a random sample instead." % subject)
print("Requested index %s has missing files. Using a random sample instead." % index)
return self.get_item(index=random.randint(0, self.__len__() - 1))

def __getitem__(self, index):
Expand Down

0 comments on commit 7fcc7d5

Please sign in to comment.