Skip to content

Commit

Permalink
Update tasks.py (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkent authored Nov 10, 2023
1 parent 29f1b07 commit 7795865
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compose/neurosynth_compose/resources/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7795865

Please sign in to comment.