Skip to content

Tiny BET configuration and output specification bugs #2916

Closed
@ZviBaratz

Description

@ZviBaratz

Hi all,

Just wanted to point out a couple of tiny bugs:

  • BETInputSpec's default frac value is 0, whereas BET's actual default value is 0.5. That should be easy enough to update.
  • BETInputSpec includes a "skull" option which does, in fact, result in another .nii file with a _skull suffix, however, it is not included in BETOutputSpec's definition or the _list_output method.
  • When setting BET's out_file to some location other than the pwd, everything is created properly, but the interface's BETOutputSpec instance (output_spec) seems to list all of the output files' locations (other than the out_file) as if they were still created in the pwd. It seems to have something to do with FSLCommand's _gen_fname method and its call to fname_presuffix with newpath=cwd, but I haven't yet really tried to understand what might be the repercussions of changing anything there.

I hope I fork the repo and propose fixes sometime soon, but it's a pretty busy time right now. Just thought it wouldn't hurt to put it here, for future reference if nothing else.

Thank you for all your amazing work!
Zvi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions