Skip to content

Commit

Permalink
Fix merging dicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo committed Oct 10, 2024
1 parent c13e3c4 commit b2b36fb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/hub/dataload/sources/civic/civic_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit b2b36fb

Please sign in to comment.