Skip to content

Commit

Permalink
Fix clinvar dump.
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo committed Oct 14, 2024
1 parent 17e9c34 commit 5bb115a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hub/dataload/sources/clinvar/clinvar_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def create_todump_list(self, force=False):
# register new release (will be stored in backend)
self.to_dump.append({"remote": self.newest_file, "local": new_localfile})
# schema
xsd = "clinvar_public.xsd"
xsd = "clinvar/xsd_public/RCV_xsd_old_format/clinvar_public.xsd"
localxsdfile = os.path.join(self.new_data_folder, xsd)
self.to_dump.append({"remote": "../%s" % xsd, "local": localxsdfile})
self.to_dump.append({"remote": "../../%s" % xsd, "local": localxsdfile})

def post_dump(self, *args, **kwargs):
generate_clinvar_lib(self.new_data_folder)
Expand Down

0 comments on commit 5bb115a

Please sign in to comment.