-
Notifications
You must be signed in to change notification settings - Fork 532
FIX: Correctly populate output spec for ICA_AROMA #2027
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
@jdkent Can you verify that you are able to run ICA_AROMA with this interface? |
@effigies Sure, what is the best way to do this? copy terminal output? |
If you like. Just for you to verify that you can run it without errors is the main thing I'm looking for. So something like: >>> aroma = ICA_AROMA(...)
>>> res = aroma.run()
>>> res.outputs
{'out_dir': <out_dir>, ...} |
and this version for a workflow execution:
|
Okay, this did not fix the problem:
|
Can you show the full command sequence you gave? I'm surprised by that result. Edit: Oh, if you want a dictionary, I think you need |
I'm looking at how the CommandLine interface is defined, but I can't seem to figure out what's going wrong. Here's how I set up the command.
|
Codecov Report
@@ Coverage Diff @@
## master #2027 +/- ##
=========================================
- Coverage 72.2% 72.2% -0.01%
=========================================
Files 1132 1132
Lines 57023 57024 +1
Branches 8165 8165
=========================================
Hits 41173 41173
- Misses 14566 14567 +1
Partials 1284 1284
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #2027 +/- ##
=========================================
- Coverage 72.2% 72.2% -0.01%
=========================================
Files 1132 1132
Lines 57023 57024 +1
Branches 8165 8165
=========================================
Hits 41173 41173
- Misses 14566 14567 +1
Partials 1284 1284
Continue to review full report at Codecov.
|
Nothing's jumping out at me as to why that's not working. I might need to look with fresh eyes tomorrow. If somebody else does see something, can you help @jdkent? |
@effigies I will help. Nothing is jumping out at me either, but I'll keep looking. |
Many apologies, the version of nipype I was using with my virtual environment wasn't the most up to date version. After squaring that away I got the correct output with @effigies code structure
However, I did not get the behavior expected by @satra when constructing a node. There was no result attribute, but there still was the outputs attribute. Is it because of how I imported Node?
|
@jdkent - my instructions were off. i meant to say node.result.outputs. but this output looks fine. |
Fixes #2026
Changes proposed in this pull request
added
outputs = self.output_spec().get
to _list_outputsMay or may not fix the other error message.