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

Numpy 2 compatibility issue: nilearn/interfaces/fmriprep/load_confounds #4263

Closed
Remi-Gau opened this issue Feb 9, 2024 · 0 comments · Fixed by #4265
Closed

Numpy 2 compatibility issue: nilearn/interfaces/fmriprep/load_confounds #4263

Remi-Gau opened this issue Feb 9, 2024 · 0 comments · Fixed by #4265

Comments

@Remi-Gau
Copy link
Collaborator

Remi-Gau commented Feb 9, 2024

https://github.com/nilearn/nilearn/actions/runs/7826655703/job/21352926865#step:6:20258

FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy0-param0-1.4.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy0-param0-21.x.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy1-param1-1.4.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy1-param1-21.x.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy2-param2-1.4.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy2-param2-21.x.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy3-param3-1.4.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy3-param3-21.x.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy4-param4-1.4.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy4-param4-21.x.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy5-param5-1.4.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy5-param5-21.x.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy6-param6-1.4.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy6-param6-21.x.x]
FAILED nilearn/interfaces/fmriprep/tests/test_load_confounds.py::test_nilearn_regress[test_strategy7-param7-1.4.x]
     def _handle_non_steady(confounds):
        """Simulate non steady state correctly while increase the length."""
        X = confounds.values
        # the first row is non-steady state, replace it with the input from the
        # second row
        non_steady = X[0, :]
>       X[0, :] = X[1, :]
E       ValueError: assignment destination is read-only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant