Skip to content

Commit

Permalink
ENH: no need to copy just loaded meta_info
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Mar 29, 2020
1 parent 189d0a9 commit cafd968
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions heudiconv/dicoms.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,6 @@ def embed_dicom_and_nifti_metadata(dcmfiles, niftifile, infofile, bids_info):
meta_info = json.loads(meta_info)

if bids_info:
# make nice with python 3 - same behavior?
meta_info = meta_info.copy()
meta_info.update(bids_info)

# write to outfile
Expand Down

0 comments on commit cafd968

Please sign in to comment.