We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7c6678 commit 613a7d2Copy full SHA for 613a7d2
nibabel/nicom/utils.py
@@ -33,7 +33,7 @@ def find_private_section(dcm_data, group_no, creator):
33
match_func = creator.search
34
else: # assume string / bytes
35
creator = asstr(creator)
36
- match_func = lambda x : x == creator
+ match_func = asstr(creator).__eq__
37
# Group elements assumed ordered by tag (groupno, elno)
38
for element in dcm_data.group_dataset(group_no):
39
elno = element.tag.elem
0 commit comments