Skip to content

Commit

Permalink
removed copy
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed Sep 20, 2024
1 parent 0883933 commit 2ee67bc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions fileformats/medimage/dicom.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import typing as ty
from collections import defaultdict, Counter
from pathlib import Path
from copy import copy
from abc import ABCMeta, abstractproperty
from typing_extensions import Self, TypeAlias
from fileformats.core.decorators import mtime_cached_property
Expand Down Expand Up @@ -120,9 +119,9 @@ def dicom_collection_read_metadata(
try:
prev_val = collated[key]
except KeyError:
collated[key] = (
val # Insert initial value (should only happen on first iter)
)
collated[
key
] = val # Insert initial value (should only happen on first iter)
key_repeats.update([key])
else:
if key in varying_keys:
Expand Down

0 comments on commit 2ee67bc

Please sign in to comment.