From 9a9db806c2e8b858809faa9a66c5deaae7999ffd Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Thu, 25 Jan 2024 15:43:46 -0500 Subject: [PATCH] Update cubids.py --- cubids/cubids.py | 1 + 1 file changed, 1 insertion(+) 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"