From f5d8dab64c9dc9b7486830260ed0654041039e08 Mon Sep 17 00:00:00 2001 From: Jeremie Fouquet Date: Mon, 26 Jun 2023 10:45:09 -0400 Subject: [PATCH] Output None for inexistent parameter Output explanatory string in BIDS json --- brkraw/lib/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brkraw/lib/utils.py b/brkraw/lib/utils.py index a75d5f2..c61f038 100644 --- a/brkraw/lib/utils.py +++ b/brkraw/lib/utils.py @@ -263,7 +263,7 @@ def meta_check_source(key_string, acqp, method, visu_pars): for i, ans in enumerate(key_exist): if ans: return get_value(pool[i], key_string) - return key_string + return None def yes_or_no(question):