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

[FIX] Fix doc load_data #134

Merged
merged 4 commits into from
Dec 18, 2023
Merged

[FIX] Fix doc load_data #134

merged 4 commits into from
Dec 18, 2023

Conversation

liuzhenqi77
Copy link
Member

It seems error messages have changed, making the try-except catches invalid.

Although not sure about if it would cause backward incompatibility, but for sufficiently new Python version it should be generally okay I guess?

We should probably refactor these in the future though.

It seems error messages have changed, making the try-except catches invalid.
We should probably refactor these in the future though.
@liuzhenqi77 liuzhenqi77 marked this pull request as ready for review December 14, 2023 22:53
@VinceBaz
Copy link
Member

Just as an update on what is happening here: these new error messages come from a recent PR in nibabel. Users that have the newest version of nibabel installed will get the new error message while those that have the older versions will have the older error message. Backward compatibility should be ok since the new if statement should now ignore both versions.

@VinceBaz VinceBaz merged commit 50a33f9 into main Dec 18, 2023
@liuzhenqi77 liuzhenqi77 deleted the fix-doc-load-data branch December 18, 2023 17:15
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 this pull request may close these issues.

2 participants