From 7dd2a6d21094377c46aeb26d5f29a00b59c29c81 Mon Sep 17 00:00:00 2001 From: Marcel Zwiers Date: Wed, 24 Jan 2024 13:30:16 +0100 Subject: [PATCH] Minor datatype fix --- bidscoin/bids.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bidscoin/bids.py b/bidscoin/bids.py index 20fd6618..46c12123 100644 --- a/bidscoin/bids.py +++ b/bidscoin/bids.py @@ -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)