From b2b36fb4e4d101e9fa2a04730a1bd0f5ae0f6575 Mon Sep 17 00:00:00 2001 From: Everaldo Date: Thu, 10 Oct 2024 15:17:56 -0700 Subject: [PATCH] Fix merging dicts. --- src/hub/dataload/sources/civic/civic_dump.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/hub/dataload/sources/civic/civic_dump.py b/src/hub/dataload/sources/civic/civic_dump.py index 55ca29c0..ae3e1057 100644 --- a/src/hub/dataload/sources/civic/civic_dump.py +++ b/src/hub/dataload/sources/civic/civic_dump.py @@ -68,10 +68,8 @@ def download(self, remoteurl, localfile, headers={}): # noqa: B006 res_contributor_avatars = GraphqlContributorAvatars().fetch(variant_id=variant_id) variant_data = self.merge_dicts(res_summary, res_detail) - variant_data.update( - res_molecular_profiles, - res_contributor_avatars - ) + variant_data.update(res_molecular_profiles) + variant_data.update(res_contributor_avatars) fout = open(localfile, 'wb') for chunk in variant_data.iter_content(chunk_size=512 * 1024):