Skip to content
Snippets Groups Projects
Commit a2006eaf authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Make sure labels are integers

parent 0f89fcdb
Branches
Tags
1 merge request!47Many changes
......@@ -87,7 +87,7 @@ class BioGenerator(object):
@property
def labels(self):
for f in self.biofiles:
yield self.biofile_to_label(f)
yield int(self.biofile_to_label(f))
@property
def keys(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment