-
Notifications
You must be signed in to change notification settings - Fork 532
[ENH] Update ReconAll interface for v6 #1790
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
Conversation
@effigies - thanks for bringing up these questions
the steps approach was there to restart at the appropriate point in the recon-all workflow and there was something off about simply using the make option, but if the make option is cleaner and it works i would support removing steps.
https://github.com/nipy/nipype/blob/master/nipype/interfaces/freesurfer/preprocess.py#L621
not if it works. on a related note, there will be some work towards moving the recon-all script to a more maintainable mode by the freesurfer folks, and we are definitely hoping to converge towards sth that we can use to generate a parallelizable nipype workflow. the intent behind the work from iowa was to figure out ways to improve or replace pieces of recon-all (for example, replacing n3biascorrection with n4 or taking out mni tools, etc.,.). |
Codecov Report
@@ Coverage Diff @@
## master #1790 +/- ##
==========================================
- Coverage 69.82% 69.82% -0.01%
==========================================
Files 1047 1047
Lines 52050 52089 +39
Branches 7651 7657 +6
==========================================
+ Hits 36345 36369 +24
- Misses 14127 14133 +6
- Partials 1578 1587 +9
Continue to review full report at Codecov.
|
Ah, looked right at the So, looking at The simplest alternative I see is to add an optional One other thing about steps, though, is that, if you ever complete a step in |
Nope. I've also removed the
If you want to put something else to replace it, I can, but I think we risk getting too complicated, here. Following the user's directive, and just removing the completed bits (extraneous |
@effigies - just to be sure this interface will work with 5.3 and 6 correct? |
Ah, no. At present, it just replaces the 5.3 |
4786c0c
to
6618031
Compare
Assuming any directive maps to '-all' with all previous steps completed is incorrect. Further, the directive update to 'autorecon2' precludes the completion of 'autorecon3', which 'all' includes. Taking the existing directive and removing completed steps is a more conservative approach, with less chance of unexpected behavior.
Don't we also need to add the |
Good call. For some reason I got it in my head that |
We'll need |
This is more of an RFC with some attached code than a PR, at the moment.
Below are (most of) the changes to
ReconAll._steps
needed to reflect the FreeSurfer v6.0 recon-all table, rather than the v5.3 recon-all table.There are some additions, deletions as well as different outputs. So a few questions to begin the discussion:
_steps
approach still good? Note thataseg.mgz
is the output of two different steps, which means the latter almost certainly won't be run without actually checking whether outputs are newer than inputs.-T2pial/-FLAIRpial
or leave it as something people can specify inReconAll.inputs.args
?Fixes #1782.