Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 67bfc22

Browse files
author
Andy Worth
committed
Respond to review
1 parent 1d23f98 commit 67bfc22

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ There are [three ways](https://docs.flywheel.io/hc/en-us/articles/360013235453-H
6060

6161
Generates an automated segmentation of the hippocampal subfields based on a statistical atlas built primarily upon ultra-high resolution (~0.1 mm isotropic) ex vivo MRI data. See: [https://surfer.nmr.mgh.harvard.edu/fswiki/HippocampalSubfieldsAndNucleiOfAmygdala](https://surfer.nmr.mgh.harvard.edu/fswiki/HippocampalSubfieldsAndNucleiOfAmygdala) for more info. Choosing this option will write `<subject_id>_HippocampalSubfields.csv` to the final results. The values in this spreadsheet will also be attached to the analysis as "Custom Information" ("info" metadata) so they can be found using search and in views. (Default=true)
6262

63-
### gear-thalamic-nuclei (optional)
63+
### gear-thalamic_nuclei (optional)
6464

6565
Produce a parcellation of the thalamus into 25 different nuclei, using a probabilistic atlas built with histological data. Choosing this option will produce 3 files in the subject's mri directory: `ThalamicNuclei.v12.T1.volumes.txt`, `ThalamicNuclei.v12.T1.mgz`, and `ThalamicNuclei.v12.T1.FSvoxelSpace.mgz`, and 2 files in the stats directory: `thalamic-nuclei.lh.v12.T1.stats` and `thalamic-nuclei.rh.v12.T1.stats`. See: [https://surfer.nmr.mgh.harvard.edu/fswiki/ThalamicNuclei](https://surfer.nmr.mgh.harvard.edu/fswiki/ThalamicNuclei) for more info. (Default=false)
6666

manifest.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
"name": "freesurfer-recon-all",
33
"label": "FreeSurfer 7.1.1: run recon-all",
44
"description": "FreeSurfer version 7.1.1 Release (July 27, 2020). This gear takes an anatomical NIfTI file and performs all of the FreeSurfer cortical reconstruction process. Outputs are provided in a zip file and include the entire output directory tree from Recon-All. Configuration options exist for setting the subject ID and for converting outputs to NIfTI, OBJ, and CSV. FreeSurfer is a software package for the analysis and visualization of structural and functional neuroimaging data from cross-sectional or longitudinal studies. It is developed by the Laboratory for Computational Neuroimaging at the Athinoula A. Martinos Center for Biomedical Imaging. Please see https://surfer.nmr.mgh.harvard.edu/fswiki/FreeSurferSoftwareLicense for license information.",
5-
"version": "1.0.8_7.1.1",
5+
"version": "1.0.9_7.1.1",
66
"custom": {
7-
"docker-image": "flywheel/freesurfer-recon-all:1.0.8_7.1.1",
7+
"docker-image": "flywheel/freesurfer-recon-all:1.0.9_7.1.1",
88
"gear-builder": {
99
"category": "analysis",
10-
"image": "flywheel/freesurfer-recon-all:1.0.8_7.1.1"
10+
"image": "flywheel/freesurfer-recon-all:1.0.9_7.1.1"
1111
},
1212
"flywheel": {
1313
"suite": "FreeSurfer"
@@ -86,7 +86,7 @@
8686
"optional": true
8787
},
8888
"expert": {
89-
"description": "A user-created file containing special options to include in the command string. The file should contain as the first item the name of the command, and the items following it on rest of the line will be passed as the extra options.",
89+
"description": "A user-created file containing special options to include in the command string. The file should contain as the first item the name of the command, and the items following it on rest of the line will be passed as the extra options. See Freesurfer documentation https://surfer.nmr.mgh.harvard.edu/fswiki/recon-all#ExpertOptionsFile for more information and examples.",
9090
"base": "file",
9191
"optional": true
9292
}
@@ -128,7 +128,7 @@
128128
"default": true,
129129
"type": "boolean"
130130
},
131-
"gear-thalamic-nuclei": {
131+
"gear-thalamic_nuclei": {
132132
"description": "Produce a parcellation of the thalamus into 25 different nuclei, using a probabilistic atlas built with histological data. Choosing this option will produce 3 files in the subject's mri directory: ThalamicNuclei.v12.T1.volumes.txt, ThalamicNuclei.v12.T1.mgz, and ThalamicNuclei.v12.T1.FSvoxelSpace.mgz, and 2 files in the stats directory: thalamic-nuclei.lh.v12.T1.stats and thalamic-nuclei.rh.v12.T1.stats. See: https://surfer.nmr.mgh.harvard.edu/fswiki/ThalamicNuclei for more info. (Default=false)",
133133
"default": false,
134134
"type": "boolean"

run.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ def do_gear_convert_volumes(config, mri_dir, dry_run, environ, log):
515515
mri_mgz_files += ["brainstemSsLabels.v12.FSvoxelSpace.mgz"]
516516
if config.get("gear-gtmseg"):
517517
mri_mgz_files += ["gtmseg.mgz"]
518-
if config.get("gear-thalamic-nuclei"):
518+
if config.get("gear-thalamic_nuclei"):
519519
mri_mgz_files += [
520520
"ThalamicNuclei.v12.T1.mgz",
521521
"ThalamicNuclei.v12.T1.FSvoxelSpace.mgz",
@@ -751,7 +751,7 @@ def main(gtk_context):
751751
subject_id, mri_dir, dry_run, environ, metadata, log
752752
)
753753

754-
if config.get("gear-thalamic-nuclei"):
754+
if config.get("gear-thalamic_nuclei"):
755755
do_gear_thalamic_nuclei(
756756
subject_id, mri_dir, dry_run, environ, metadata, log
757757
)

0 commit comments

Comments
 (0)