Skip to content

Notebook checks fail with traitlets=5.7.0 #407

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

Closed
tbirdso opened this issue Dec 9, 2022 · 0 comments
Closed

Notebook checks fail with traitlets=5.7.0 #407

tbirdso opened this issue Dec 9, 2022 · 0 comments

Comments

@tbirdso
Copy link
Contributor

tbirdso commented Dec 9, 2022

Summary

Notebook checks have recently begun failing with TraitError:

TraitError: label_image_weights shape expected to have 1 components, but got () components

It appears that this issue coincides with an implicit update from traitlets=5.6.0 to traitlets=5.7.0.

Additional Details

Notebook failure: https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/actions/runs/3658276145/jobs/6182854109

Previous successful run: https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/actions/runs/3648142319/jobs/6161216373

thewtex added a commit to thewtex/ITKSphinxExamples that referenced this issue Dec 9, 2022
To address InsightSoftwareConsortium#407, notebook CI error:

```
TraitError: label_image_weights shape expected to have 1 components, but got () components
```

Co-authored-by: Tom Birdsong <[email protected]>
thewtex added a commit to thewtex/ITKSphinxExamples that referenced this issue Dec 9, 2022
To address InsightSoftwareConsortium#407, notebook CI error:

```
TraitError: label_image_weights shape expected to have 1 components, but got () components
```

Co-authored-by: Tom Birdsong <[email protected]>
@thewtex thewtex closed this as completed Dec 9, 2022
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

No branches or pull requests

2 participants