FCP-INDI / C-PAC

Configurable Pipeline for the Analysis of Connectomes

Home Page:https://fcp-indi.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

✨ Better error reporting when CSF mask is empty

e-kenneally opened this issue · comments

Related problem

When the CSF mask is empty, this error appears:
ValueError: Number of time points in [CSF mask] (0) is inconsistent with length of functional file [func file] (433)
Since this is such a common error, there should be more information in the error message about what could be going wrong.

Proposed feature

The error message should outline potential issues causing this error to help users troubleshoot.

Acceptance criteria

  • More detail in error message

Alternatives

No response

Additional context

No response