Skip to content

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.

3 participants