From 5bb115a279c049797bac1e6fb380250ff99e388f Mon Sep 17 00:00:00 2001 From: Everaldo Date: Mon, 14 Oct 2024 16:12:28 -0700 Subject: [PATCH] Fix clinvar dump. --- src/hub/dataload/sources/clinvar/clinvar_dump.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hub/dataload/sources/clinvar/clinvar_dump.py b/src/hub/dataload/sources/clinvar/clinvar_dump.py index df2d4f54..345b3bdc 100644 --- a/src/hub/dataload/sources/clinvar/clinvar_dump.py +++ b/src/hub/dataload/sources/clinvar/clinvar_dump.py @@ -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)