Skip to content

Commit

Permalink
add condition, make sure tag exists
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudbore committed Nov 11, 2024
1 parent e8537ee commit f5cb7fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dcm2bids/sidecar.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def compare_float(name, pattern):

elif isinstance(name, list):
result.append(compare_list(name, pattern))
else:
elif name:
result.append(compare(name, pattern))

return all(result)
Expand Down

0 comments on commit f5cb7fe

Please sign in to comment.