From 7795865ab619439986773611edf55289c3bacf54 Mon Sep 17 00:00:00 2001 From: James Kent Date: Fri, 10 Nov 2023 13:00:06 -0600 Subject: [PATCH] Update tasks.py (#615) --- compose/neurosynth_compose/resources/tasks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose/neurosynth_compose/resources/tasks.py b/compose/neurosynth_compose/resources/tasks.py index f06511063..faee18636 100644 --- a/compose/neurosynth_compose/resources/tasks.py +++ b/compose/neurosynth_compose/resources/tasks.py @@ -130,10 +130,10 @@ def create_or_update_neurostore_analysis( "order": point_idx, } if not pd.isna(row["Cluster Size (mm3)"]): - point["subpeak"] = True + point["subpeak"] = False point["cluster_size"] = row["Cluster Size (mm3)"] else: - point["subpeak"] = False + point["subpeak"] = True points.append(point) point_idx += 1 # reference the uploaded images on neurovault to associate images