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 2157139 commit c7c6678Copy full SHA for c7c6678
nibabel/nicom/utils.py
@@ -30,7 +30,7 @@ def find_private_section(dcm_data, group_no, creator):
30
Element number at which named section starts.
31
"""
32
if hasattr(creator, 'search'):
33
- match_func = lambda x : creator.search(x)
+ match_func = creator.search
34
else: # assume string / bytes
35
creator = asstr(creator)
36
match_func = lambda x : x == creator
0 commit comments