Skip to content

Commit

Permalink
add keylookup to gsrs uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanWelzel committed Jul 12, 2024
1 parent 32e63f7 commit a546c17
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hub/dataload/sources/gsrs/gsrs_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ def load_data(self, data_folder):
input_file = os.path.join(data_folder, "dump-public-2023-12-14.gsrs")
assert os.path.exists(
input_file), "Can't find input file '%s'" % input_file
return load_substances(input_file)
# return self.keylookup(load_data)(input_file)
return self.keylookup(load_substances)(input_file)

@classmethod
def get_mapping(cls):
Expand Down

0 comments on commit a546c17

Please sign in to comment.