Skip to content

ENH: Add segmentation output to FSL's epi_reg #2661

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

Merged
merged 27 commits into from
Jul 30, 2018

Conversation

weningerleon
Copy link
Contributor

@weningerleon weningerleon commented Jul 27, 2018

Summary

Fixes as proposed in: Issue #2657 Adding Segmentation Output to FSL:Epi_Reg
This output exists in fsl, but was not yet included in nipype

Closes #2657.

List of changes proposed in this PR (pull-request)

  • Adds an output to epi_reg: white matter, gray matter, csf segmentation map
  • Remove trailing spaces as proposed by make check-before-commit

Acknowledgment

  • (Mandatory) I acknowledge that this contribution will be available under the Apache 2 license.

weningerleon and others added 16 commits July 26, 2018 11:35
Bringing fork up-to-date
Add segmentation output
Set default to false, in order to not overwrite the config file settings
The command EpiReg also produces a segmentation in white matter, gray matter, and csf which can now be accessed in nipype
@effigies
Copy link
Member

Thanks for this. You'll need to check the acknowledgement that your changes will be released under Apache 2, and you may want to add yourself to the .zenodo.json file.

@effigies effigies changed the title [FIX] Add Segmentation output to fsl:epi_reg ENH: Add segmentation output to FSL's epi_reg Jul 27, 2018
@effigies
Copy link
Member

Could you also merge master, to fix the tests?

@effigies effigies added this to the 1.1.2 milestone Jul 28, 2018
@codecov-io
Copy link

codecov-io commented Jul 29, 2018

Codecov Report

Merging #2661 into master will increase coverage by 0.02%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2661      +/-   ##
==========================================
+ Coverage   67.59%   67.61%   +0.02%     
==========================================
  Files         340      340              
  Lines       43054    43056       +2     
  Branches     5329     5329              
==========================================
+ Hits        29104    29114      +10     
+ Misses      13248    13241       -7     
+ Partials      702      701       -1
Flag Coverage Δ
#smoketests 50.51% <50%> (-0.01%) ⬇️
#unittests 65.1% <50%> (+0.05%) ⬆️
Impacted Files Coverage Δ
nipype/interfaces/fsl/epi.py 65.11% <50%> (-0.08%) ⬇️
nipype/pipeline/plugins/legacymultiproc.py 61.3% <0%> (+5.35%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 687a93e...249a5b4. Read the comment docs.

@@ -0,0 +1 @@
reg_average /filesrv/weninger/code/nipype/nipype/testing/data/avg_out.nii.gz -avg im1.nii im2.nii im3.nii -omp 1
Copy link
Member

Choose a reason for hiding this comment

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

This file probably shouldn't be here.

@effigies effigies merged commit 69dce12 into nipy:master Jul 30, 2018
@weningerleon weningerleon deleted the patch-1 branch July 30, 2018 20:11
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.

3 participants