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 tuple error #77

Merged
merged 1 commit into from
Jul 12, 2024
Merged

fix tuple error #77

merged 1 commit into from
Jul 12, 2024

Conversation

LorenzLamm
Copy link
Collaborator

An AttributeError arised, depending on the MONAI versions (1.3.2 worked, 1.1.0 did not).

This was due to the sliding window inferer returning either a tuple or a list, where we were only accounting for lists before.

This PR fixes this error.

@LorenzLamm LorenzLamm merged commit 14157e9 into teamtomo:main Jul 12, 2024
5 checks passed
@LorenzLamm LorenzLamm deleted the fix_tuple_error branch July 12, 2024 16:57
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.

1 participant