Skip to content

Commit

Permalink
bugfix: use 'assembly' instead of 'version' as loader function parame…
Browse files Browse the repository at this point in the history
…ter name
  • Loading branch information
erikyao committed Nov 9, 2023
1 parent 41d3d23 commit 38b0595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hub/dataload/sources/dbnsfp/dbnsfp_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def jobs(self):

def load_data(self, path, assembly):
self.logger.debug("loading file " + path)
return load_file_v1(path, version=assembly)
return load_file_v1(path, assembly=assembly)


class DBNSFPBaseUploaderV2(uploader.ParallelizedSourceUploader, SnpeffPostUpdateUploader):
Expand All @@ -53,7 +53,7 @@ def jobs(self):

def load_data(self, path, assembly):
self.logger.debug("loading file " + path)
return load_file_v2(path, version=assembly)
return load_file_v2(path, assembly=assembly)


class DBNSFPHG38UploaderV1(DBNSFPBaseUploaderV1):
Expand Down

0 comments on commit 38b0595

Please sign in to comment.