Comments (1)
It's an old issue, is this still a case?
I've just tested a following workflow and didn't have any problems:
def fun1(a):
return a + 10
fun1_inter = Function(input_names=["a"],
output_names=["fun1_out"],
function=fun1)
node_fun1 = Node(fun1_inter, name="fun1")
node_fun1.inputs.a = 4
def fun2(b):
return 5 * b
fun2_inter = Function(input_names=["b"],
output_names=["fun2_out"],
function=fun2)
node_fun2 = Node(fun2_inter, name="fun2")
node_iden = Node(IdentityInterface(fields=['b']),
name="identity")
wf = Workflow(name="testing_workflow", base_dir="/output/testing")
wf.connect(node_fun1, "fun1_out", node_iden, "b")
wf.connect(node_iden, "b", node_fun2, "b")
res = wf.run()
print(list(res.nodes())[1].result.outputs)
got an output: fun2_out = 70
from nipype.
Related Issues (20)
- 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
- dcm2niix converted_files duplicate entry HOT 1
- Error when running mri_convert from pycham HOT 1
- Error using fsl.EDDY HOT 2
- fsl_out=True does not work for freesurfer.TKregister2
- nipype.algorithms.modelgen.SpecifySPMModel: unclear input format for realignment_parameters HOT 1
- nipype/nipype/interfaces/fsl /preprocess.py - FAST other_priors
- DataSink: Add possibility to replace regex match with another regex match in HOT 1
- ANTSRegistration() error formatting command line argument 'transforms' HOT 3
- dcm2niix node does not error out whenever dcm2niix exits with 1 HOT 6
- FSL FAST output PATH problems
- Error in Mrtrix3's DWIPreproc
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.