-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I'm trying to figure out the best way to create a rapidtide nipype interface for the workflow. Unfortunately, the way it's structured on rapidtide's end makes that difficult. Here are a few options I'm considering:
- A BaseInterface: basically call rapidtide as a Python function.
- The biggest problem here is that
rapidtide_mainjust isn't structured in a way that would work with this, AFAICT. The input torapidtide_mainis an argparse function, so it's really only set up to be called as a command-line interface. - I need to know the individual parameters for this kind of interface.
- Also, passing along a massive dictionary makes it hard to keep track of what parameters are actually used and where. @bbfrederick how would you feel about splitting up
optiondictandtheprefilterinto individual parameters?
- The biggest problem here is that
- A Function interface: call rapidtide as a Python function with minimal knowledge of inputs and outputs.
- In this approach we can pass in the parameters are keyword arguments, which means the function still needs to have individual parameters, but we don't need to define all those parameters in an InputSpec.
- A command-line interface: Call rapidtide as a command-line interface.
- I need to define all of the individual parameters that we might need, but other than that this seems like the most doable option.
Metadata
Metadata
Assignees
Labels
No labels