diff --git a/cubids/cubids.py b/cubids/cubids.py index d4edc921a..e04482d9f 100644 --- a/cubids/cubids.py +++ b/cubids/cubids.py @@ -943,6 +943,7 @@ def get_param_groups_from_key_group(self, key_group): for mod in modalities: if mod in filepath: modality = mod.replace("/", "").replace("/", "") + if modality == "": print("Unusual Modality Detected") modality = "other"