Skip to content

Commit

Permalink
Minor datatype fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelzwiers committed Jan 24, 2024
1 parent 0f7ffe7 commit 7dd2a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bidscoin/bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@ def get_derivatives(datatype: str, exceptions: tuple=()) -> list:

if datatype == 'anat':
return [suffix for suffix in datatyperules[datatype]['parametric']['suffixes']
if suffix not in exceptions + ('UNIT1',)] # The qMRI data (maps)
if suffix not in tuple(exceptions) + ('UNIT1',)] # The qMRI data (maps)
elif datatype == 'fmap':
return [suffix for typegroup in datatyperules[datatype] for suffix in datatyperules[datatype][typegroup]['suffixes']
if suffix not in exceptions and typegroup not in ('fieldmaps','pepolar')] # The non-standard fmaps (file collections)
Expand Down

0 comments on commit 7dd2a6d

Please sign in to comment.