Giter Club home page Giter Club logo

Comments (7)

yarikoptic avatar yarikoptic commented on June 1, 2024

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.

mih avatar mih commented on June 1, 2024

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.

satra avatar satra commented on June 1, 2024

michael: any chance of a small example?

from nipype.

satra avatar satra commented on June 1, 2024

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.

mih avatar mih commented on June 1, 2024

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.

satra avatar satra commented on June 1, 2024

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.

chrisgorgo avatar chrisgorgo commented on June 1, 2024

All interfaces throw an exception when runtime.returncode is not zero.
Closed by 04f7a7a.

from nipype.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.