Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostFreeSurfer related pull request #135

Merged
merged 23 commits into from
Oct 12, 2019

Conversation

sivcek
Copy link
Contributor

@sivcek sivcek commented Sep 27, 2019

PostFreeSurferPipeline.sh related changes

1/ Cosmetic changes

Changing tabs to spaces, removal of trailing line spaces

2/ Explicit printout of parameters

3/ Addition of --mppversion parameter and related check / validation code

4/ Temporary suppression of colored echo outputs

5/ Enabling run w/o T2w image

When T2w image is missing and T2wRestoreImage is set to NONE the following steps are skipped:

  • Myelin mapping

PostFreeSurferPipeline_1res.sh related changes

1/ Cosmetic changes

Changing tabs to spaces, removal of trailing line spaces

2/ Explicit prinrout of parameters

3/ Addition of --mppversion parameter and related check / validation code

4/ Enabling run w/o T2w image

When T2w image is missing and T2wRestoreImage is set to NONE the following steps are skipped:

  • Myelin mapping

FreeSurfer2CaretConvertAndRegisterNonlinear.sh related changes

1/ Cosmetic changes

Changing tabs to spaces, removal of trailing line spaces

2/ Fixing a bug with generation of c_ras.mat

The code to generate c_ras.mat failed in some cases so we replaced it with a more robust version.

3/ Enabling run w/o T2w image

When T2w image is missing and T2wRestoreImage is set to NONE the following steps are skipped:

  • Adding T2w related images to the spec file

FreeSurfer2CaretConvertAndRegisterNonlinear_1res.sh related changes

1/ Cosmetic changes

Changing tabs to spaces, removal of trailing line spaces

2/ Enabling run w/o T2w image

When T2w image is missing and T2wRestoreImage is set to NONE the following steps are skipped:

  • Adding T2w related images to the spec file
  • applywarp to AtlasSpaceT2wImage

1/ Changing tabs to spaces, removal of trailing line spaces
2/ Fixing a bug with generation of c_ras.mat. The code to generate c_ras.mat failed in some cases so we replaced it with a more robust version.
3/ When T2w image is missing and T2wRestoreImage is set to NONE the following steps are skipped:
* Adding T2w related images to the spec file
1/ Changing tabs to spaces, removal of trailing line spaces
2/ When T2w image is missing and T2wRestoreImage is set to NONE the following steps are skipped:
* Adding T2w related images to the spec file
* `applywarp` to  `AtlasSpaceT2wImage`
1/ Changing tabs to spaces, removal of trailing line spaces
2/ Explicit prinrout of parameters
3/ Addition of `--mppversion` parameter and related check / validation code
4/ When T2w image is missing and T2wRestoreImage is set to NONE the following steps are skipped:
* Myelin mapping
1/ Changing tabs to spaces, removal of trailing line spaces
2/ Explicit printout of parameters
3/ Addition of `--mppversion` parameter and related check / validation code
4/ Temporary suppression of colored echo outputs
5/ When T2w image is missing and T2wRestoreImage is set to NONE the following steps are skipped:
* Myelin mapping
Copy link
Contributor

@glasserm glasserm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turning off the myelin mapping script is not really what you want to do as multiple other things besides myelin mapping occur in it including:

  1. Creation of single warp field for final resampling of the T1w image (with masking and bias correction) for both T1w and MNI space
  2. Creation of the thickness map corrected for folding and creation of its CIFTI files
  3. Setting a palette on the Jacobian volume for the atlas registration
  4. Resampling of the bias field to MNI space

@glasserm
Copy link
Contributor

glasserm commented Oct 6, 2019

We also need to have no T2w checks for the last few loops in CreateMyelinMaps for #Create CIFTI Files and #Add CIFTI Maps to Spec.

@glasserm
Copy link
Contributor

glasserm commented Oct 6, 2019

Lets also class RegName="FS" into legacy mode as I mentioned in fMRISurface.

@sivcek
Copy link
Contributor Author

sivcek commented Oct 7, 2019

@glasserm @mharms I believe all the concerns are addressed and the code is significantly simplified.

@glasserm
Copy link
Contributor

glasserm commented Oct 7, 2019

It looks good to me now

Copy link
Contributor

@mharms mharms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I'm concerned, we are really close on this one.

@glasserm glasserm requested review from mharms and glasserm October 12, 2019 00:57
Copy link
Contributor

@glasserm glasserm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs default RegName=MSMSulc

@sivcek
Copy link
Contributor Author

sivcek commented Oct 12, 2019

Default set to MSMSulc

@glasserm glasserm merged commit 7151d79 into Washington-University:master Oct 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants