Skip to content

Commit c7bb1a0

Browse files
Copilotshawntz
andcommitted
Reorder menu steps to improve workflow logic
Co-authored-by: shawntz <5200266+shawntz@users.noreply.github.com>
1 parent e7de3f6 commit c7bb1a0

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

launch

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ def display_menu():
123123
("3", "Step 3: Prep for fMRIPrep (remove dummy scans, update fmap JSON metadata, config fmap SDC)"),
124124
("4", "Step 4: QC - Verify dcm -> nii -> bids metadata"),
125125
("5", "Step 5: QC - Verify number of volumes per scan file"),
126-
("6", "Step 6: Run fMRIPrep anatomical workflows only (if doing manual edits, otherwise skip to step 7)"),
127-
("7", "Step 7: Run remaining fMRIPrep steps (full anatomical + functional workflows)"),
128-
("8", "Utilities: Download Freesurfer outputs for manual editing"),
129-
("9", "Utilities: Upload edited Freesurfer outputs back to server"),
126+
("6", "Step 6: Run fMRIPrep anatomical workflows only (if doing manual edits, otherwise skip to step 9)"),
127+
("7", "Step 7: Download Freesurfer outputs for manual editing"),
128+
("8", "Step 8: Upload edited Freesurfer outputs back to server"),
129+
("9", "Step 9: Run remaining fMRIPrep steps (full anatomical + functional workflows)"),
130130
("10", "Utilities: Tarball/Untar utility for sourcedata/ BIDS directories")
131131
]
132132

@@ -166,15 +166,15 @@ def get_parameters(step_choice):
166166
"keys": [],
167167
"prompts": []
168168
},
169-
"7": { # Step 7 (fmriprep full)
169+
"7": { # Freesurfer download
170170
"keys": [],
171171
"prompts": []
172172
},
173-
"8": { # Freesurfer download
173+
"8": { # Freesurfer upload
174174
"keys": [],
175175
"prompts": []
176176
},
177-
"9": { # Freesurfer upload
177+
"9": { # Step 9 (fmriprep full)
178178
"keys": [],
179179
"prompts": []
180180
},
@@ -272,9 +272,9 @@ def run_script(step_choice, user_inputs):
272272
"4": "04-run.sbatch",
273273
"5": "05-run.sbatch",
274274
"6": "06-run.sbatch",
275-
"7": "07-run.sbatch",
276-
"8": "toolbox/download_freesurfer.sh",
277-
"9": "toolbox/upload_freesurfer.sh",
275+
"7": "toolbox/download_freesurfer.sh",
276+
"8": "toolbox/upload_freesurfer.sh",
277+
"9": "07-run.sbatch",
278278
"10": "toolbox/tarball_sourcedata.sh"
279279
}
280280

0 commit comments

Comments
 (0)