Skip to content

pydra task input types cause workflow connection problem #574

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
yibeichan opened this issue Sep 1, 2022 · 1 comment
Closed

pydra task input types cause workflow connection problem #574

yibeichan opened this issue Sep 1, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@yibeichan
Copy link
Collaborator

when creating the 7th tutorial (two-level glm) for pydra, see this PR and this issue, we found that pydra is strict with its task input.

if the task input is a list of unidentifiable types for pydra such as a list of pandas.DataFrame or FirstLevelModel, will cause connection problems in the workflow that the output can't be collected or passed to the next node.

@satra mentions

in pydra-ml we pass other non-standard objects (for example scikit-learn pipelines: https://github.com/nipype/pydra-ml/blob/master/pydra_ml/tasks.py#L103 - hence there must be something specific that's at work here)

@djarecka finds that

adding an extra elif block for input that is a data frame helped, at least in my simple example that I was using for testing. Will check for the entire workflow later.
some issues raise only when running with jupyter notebook not .py script

@yibeichan yibeichan added the bug Something isn't working label Sep 1, 2022
@tclose tclose moved this from Triage to v1.0 in Pydra Roadmap Apr 29, 2025
@tclose tclose moved this from v1.0 to Bugs & Incomplete PRs in Pydra Roadmap Apr 29, 2025
@tclose
Copy link
Contributor

tclose commented May 8, 2025

duplicate of #767

@tclose tclose closed this as completed May 8, 2025
@github-project-automation github-project-automation bot moved this from Bugs & Incomplete PRs to Done in Pydra Roadmap May 8, 2025
@tclose tclose removed this from Pydra Roadmap Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants