pydra
pydra copied to clipboard
Pydra Dataflow Engine
`_run_task` is currently a Task method and therefore has access to `self` and thus `checksum` and `output_dir`. however, the returns of these functions can be different inside `_run_task` relative to...
what should be a defaults `splitter` for `wf.mult`: ``` wf = Workflow(name="wf_ndst_9", input_spec=["x"]) wf.add(add2(name="add2x", x=wf.lzin.x).split("x")) wf.add(add2(name="add2y", x=wf.add2x.lzout.out)) wf.add( multiply(name="mult", x=wf.add2x.lzout.out, y=wf.add2y.lzout.out) ) wf.inputs.x = [1, 2] ``` If the splitter...
There is a class of command where input is analyzed and printed to stdout, rather than output as a file. A couple examples are * [SmoothEstimate](https://nipype.readthedocs.io/en/latest/api/generated/nipype.interfaces.fsl.model.html#smoothestimate) * [AvScale](https://nipype.readthedocs.io/en/latest/api/generated/nipype.interfaces.fsl.utils.html#avscale) It would...
https://gist.github.com/satra/0e02cd7554672120cf8073df3986f302
right now the `cache_dir` from `Workflow` propagates to all nodes, but in some situation might be good to have a separate cache_dir for nodes
What version of Pydra are you using? Pydra version: 0.14.1 Python version: 3.8.5 This is the follow-up to the caching issue from yesterdays jitsi meeting. I was able to load...
Pydra version: 0.15 I was trying to implement the ANTS ```N4BiasFieldCorrection```. The command accepts the output names as a list. I tried to implement it the following way: ``` from...
https://github.com/andhus/dirhash > The Dirhash Standard describes a formal procedure for computing a single hash value, the DIRHASH, of a filesystem directory. With Python implementation: https://github.com/andhus/dirhash-python ---- I vaguely remember we...
From today's meeting, consider reimplementing Docker/Singularity as environments, rather than subclasses of Shell, something like: ```Python class Environment: def setup(self): def runin(self, task): def teardown(self): class Native(Environment): pass ``` ```Python...