Skip to content

Commit

Permalink
when tag not found return false
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudbore committed Nov 11, 2024
1 parent f5cb7fe commit 3292d46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dcm2bids/sidecar.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,8 @@ def compare_float(name, pattern):
result.append(compare_list(name, pattern))
elif name:
result.append(compare(name, pattern))
else:
result.append(False)

return all(result)

Expand Down

0 comments on commit 3292d46

Please sign in to comment.