-
Notifications
You must be signed in to change notification settings - Fork 533
[ENH/WIP] WorkflowInterface #1835
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
@oesteban - the new api we are working on basically has the following subclassing structure we are considering however, this would be a good interface to implement that functionality. |
Codecov Report
@@ Coverage Diff @@
## master #1835 +/- ##
==========================================
+ Coverage 72.31% 73.13% +0.81%
==========================================
Files 1180 1064 -116
Lines 58885 53546 -5339
Branches 8474 0 -8474
==========================================
- Hits 42585 39160 -3425
+ Misses 14921 14386 -535
+ Partials 1379 0 -1379
Continue to review full report at Codecov.
|
@oesteban is this one orphaned? |
I can recheck in two weeks. If re-syncing is not too hard (better said: very easy), we can add it as a patch for 1.0. As Satra mentioned, this does not make sense in 2.0. |
This PR creates a new type of interface that wraps workflows into a nipype interface. A naive addendum has been done to the BaseWorkflow class, in order to post-process the executed graph to retrieve the outputs that were connected to an "outputnode". This addition only happens for synchronous runners. For now, only the Linear and MultiProc plugins are set as synchronous.
The inner workflow is then run using either Linear or Multiproc.
The doctest reads like:
Before this PR can be merged, these tasks should be ticked :
stop_at_first_crash
option toTrue
, maybe @satra can think of other options that should be set and potential problems of this approach)