From bc37e6adb9317059384128be024824fb7c49140f Mon Sep 17 00:00:00 2001 From: Ataf Fazledin Ahamed Date: Wed, 20 Dec 2023 02:29:44 +0600 Subject: [PATCH] Fixed inappropriate logical expression (#1012) Signed-off-by: fazledyn-or --- tedana/workflows/ica_reclassify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tedana/workflows/ica_reclassify.py b/tedana/workflows/ica_reclassify.py index 24dce3212..925a9de59 100644 --- a/tedana/workflows/ica_reclassify.py +++ b/tedana/workflows/ica_reclassify.py @@ -541,7 +541,7 @@ def ica_reclassify_workflow( gscontrol.append("gsr") if mir: gscontrol.append("mir") - gscontrol = None if gscontrol is [] else gscontrol + gscontrol = None if gscontrol == [] else gscontrol reporting.static_figures.carpet_plot( optcom_ts=data_oc,