Skip to content

Commit

Permalink
Write local files.
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo committed Oct 10, 2024
1 parent 8afa2d8 commit c3f9312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hub/dataload/sources/civic/civic_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ def download(self, remoteurl, localfile, headers={}): # noqa: B006
variant_data.update(res_molecular_profiles)
variant_data.update(res_contributor_avatars)

with open(localfile, 'wb'):
localfile.write(variant_data)
with open(localfile, 'wb') as f:
f.write(variant_data)
return variant_data

def merge_dicts(self, d1, d2):
Expand Down

0 comments on commit c3f9312

Please sign in to comment.