Comments (7)
And that might be also a proper location where to dump at least stderr into the user's face for his entire delight
from nipype.
This still seems to be an issue and I don't necessarily agree with the 'enhancement' classification. Moreover, there is a related issue that worries me at least as much: When I specify mutually exclusive option for a node it will run just fine -- although what I asked for is clearly impossible. It will only say something like "UserWarning: blablabla ... Resetting $RANDOM_PARAMETER to ".
This is really sub-optimal. Unless I closely monitor the console output I might not even notice that something goes wrong. Depending on what parameter gets reset it might even perform something totally different from what was originally intended.
I'd consider this a proper bug.
from nipype.
michael: any chance of a small example?
from nipype.
michael: regarding the mutually exclusive inputs, we cannot raise an error. it's not a mistake. so what would you suggest we do?
and i think i've fixed the other bug.
from nipype.
Hey,
I'm a bit lost. Why is it not possible to raise an error? What example do you need: mutual exclusive options, or failing BET?
Michael
from nipype.
michael: here you go.
In [1]: from nipype.interfaces.fsl import BET
In [3]: bet = BET()
In [4]: bet.inputs.reduce_bias = True
In [5]: bet.inputs.functional = True
...
File "/software/nipy-repo/nipype/nipype/interfaces/base.py", line 343, in _xor_warn
raise IOError(msg)
IOError: Input "functional" is mutually exclusive with input "reduce_bias" which is already set
from nipype.
All interfaces throw an exception when runtime.returncode is not zero.
Closed by 04f7a7a.
from nipype.
Related Issues (20)
- AttributeError: module 'networkx' has no attribute 'to_scipy_sparse_matrix' HOT 2
- Setting an input on a MapNode within a Workflow has no effect
- Allow use of glob patterns in in_files for fsl.Merge
- Support for PET-BIDS HOT 1
- Getting AFNI version in a simpler way HOT 3
- Dcm2niix interface: Add `mvecs` output
- Error when importing dipy interfaces HOT 2
- dcm2niix interface doesn't list cropped files in output
- Can not specify own_atlas in CAT12Segment
- `locale.getdefaultlocale()` is deprecated HOT 1
- nipype.algorithms.modelgen.SpecifySPMModel can't handle relative filepaths when being inside a node HOT 4
- Reconsider CI management HOT 5
- McFlirt incorrect output filename expected HOT 3
- repeated output_spec in `fsl.epi.eddy` HOT 2
- optmization_schema error in GTMPVC - petsurfer interface
- MapNode and Workflow.connect show unexpected interaction behavior HOT 2
- Mideface integration HOT 1
- Can't use in Jypeter notebook HOT 2
- Missing contrast outputs for SPM EstimateModel HOT 1
- Issue running nipype.interfaces.spm HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nipype.