Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

No information about function_str in the report from JoinNode with Function interface #2401

Copy link
Copy link
Open
@achetverikov

Description

@achetverikov
Issue body actions

Summary

When interfaces.utility.Function is used in combination with JoinNode, report.rst shows that function_str is <undefined>. With normal nodes, everything is OK. I'm not sure, but I have a suspicion that it also affects caching. Here's an example Node and a part of its report:

combine_plots = nipype.JoinNode(interface = util.Function(input_names = ['data_list','subject_id'], 
                                                          output_names = ['out_plot', 'out_data'],
                                                          function=combine_plots_fun),
                                name = 'combine_plots', joinfield = ['data_list'], 
                                joinsource='samples_pars',
                                run_without_submitting = True)

Node: combine_plots (utility)
=============================

 Hierarchy : decoding.combine_plots
 Exec ID : combine_plots.a0

Original Inputs
---------------

* data_list : <undefined>
* data_listJ1 : file1.csv
* data_listJ2 : file2.csv
* data_listJ3 : file3.csv
* data_listJ4 : file4.csv
* function_str : <undefined>
* ignore_exception : <undefined>
* subject_id : P01

Execution Inputs
----------------

* data_list : <undefined>
* data_listJ1 : file1.csv
* data_listJ2 : file2.csv
* data_listJ3 : file3.csv
* data_listJ4 : file4.csv
* function_str : <undefined>
* ignore_exception : <undefined>
* subject_id : P01

Platform details:

620 $ python -c "import nipype; print(nipype.get_info()); print(nipype.__version__)"
{'pkg_path': '/home/visual/andche/.conda/envs/demo/lib/python3.6/site-packages/nipype', 'commit_source': 'archive substitution', 'commit_hash': '%h', 'nipype_version': '0.14.0', 'sys_version': '3.6.3 | packaged by conda-forge | (default, Dec  9 2017, 16:18:26) \n[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)]', 'sys_executable': '/home/visual/andche/.conda/envs/demo/bin/python', 'sys_platform': 'linux', 'numpy_version': '1.13.3', 'scipy_version': '1.0.0', 'networkx_version': '2.0', 'nibabel_version': '2.2.1', 'traits_version': '4.6.0'}
0.14.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.