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

BUG: Fix type error in notebooks #223

Merged

Conversation

ntatsisk
Copy link
Collaborator

The CI of PR #220 throws the same type error on two notebooks:

FAILED examples/ITK_Example12_DifferentSizeTransformation.ipynb:: - TypeError: Expecting argument of type itkImageSS2 or itkImageSourceISS2.
FAILED examples/ITK_UnitTestExample6_PointSetTransformation.ipynb:: - TypeError: Expecting argument of type itkImageSS2 or itkImageSourceISS2.

This error is related to issue #212 on using kwargs vs args to deduce the types of the input images, and answers my own question here: #212 (comment).

It seems that now the "default" image type is itkImageSS2 while before it used be itkImageF2. If I undestand correctly, the "default" behavior changed after commit 5a6f9fe.

cc @N-Dekker

The error is related to issue InsightSoftwareConsortium#212 on using kwargs vs args to
deduce the types of the input images
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@dzenanz dzenanz merged commit ab0c0c0 into InsightSoftwareConsortium:main May 25, 2023
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