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

improve super call

parent a3812701
No related branches found
No related tags found
1 merge request!36Use bob.extension to load config files
Pipeline #
...@@ -41,8 +41,8 @@ class BioGenerator(object): ...@@ -41,8 +41,8 @@ class BioGenerator(object):
""" """
def __init__(self, database, biofiles, load_data=None, def __init__(self, database, biofiles, load_data=None,
biofile_to_label=None, multiple_samples=False): biofile_to_label=None, multiple_samples=False, **kwargs):
super(self, BioGenerator).__init__() super(BioGenerator, self).__init__(**kwargs)
if load_data is None: if load_data is None:
def load_data(database, biofile): def load_data(database, biofile):
data = read_original_data( data = read_original_data(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment