Skip to content

Commit cafd968

Browse files
committed
ENH: no need to copy just loaded meta_info
1 parent 189d0a9 commit cafd968

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

heudiconv/dicoms.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,6 @@ def embed_dicom_and_nifti_metadata(dcmfiles, niftifile, infofile, bids_info):
442442
meta_info = json.loads(meta_info)
443443

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

449447
# write to outfile

0 commit comments

Comments
 (0)