Skip to content
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

[BUG] Mask intersection failure #178

Open
bclenet opened this issue Feb 19, 2024 · 0 comments
Open

[BUG] Mask intersection failure #178

bclenet opened this issue Feb 19, 2024 · 0 comments
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🏁 status: ready for dev Ready for work

Comments

@bclenet
Copy link
Collaborator

bclenet commented Feb 19, 2024

Describe the bug

For pipeline X19V (and probably other ones) group level analyses, the split_mask (Split interface) line 557 in narps_open/pipelines/team_X19V.py node fails, when trying to compute less subjects than the ones that already have subject level results.
This is because the select_files node selects all masks (i.e.: 108 if the 108 subjects were computed), while split_mask expects the number of masks requested by the analysis.

Reproduction

  1. run pipeline X19V (run and subject level analyses) for 5 subjects
  2. run pipeline X19V group level analyses for 4 subjects

Expected behavior

The get_group_level_analysis_sub_workflow method should select the masks corresponding to the analysis (not all the available ones).

NARPS Open Pipeline version

e4a5942

Operating System

Softwares versions

nipype/nipype:py38 docker image

Screenshots

No response

@bclenet bclenet added 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work 🛠 goal: fix Bug fix 🏁 status: ready for dev Ready for work 💻 aspect: code Concerns the software code in the repository and removed 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work labels Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🏁 status: ready for dev Ready for work
Projects
None yet
Development

No branches or pull requests

1 participant