Skip to content

Commit 78140ef

Browse files
committed
fix typing
1 parent 49ca6bb commit 78140ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heudiconv/convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ def filter_partial_volumes(
881881
partial_volumes = [
882882
not metadata.get("RawImage", True)
883883
and metadata.get("SeriesNumber", 0) > 1000
884-
and "syngo MR XA" in metadata.get("SoftwareVersions")
884+
and "syngo MR XA" in metadata.get("SoftwareVersions", "")
885885
for metadata in bids_metas
886886
]
887887
no_partial_volumes = not any(partial_volumes) or all(partial_volumes)

0 commit comments

Comments
 (0)