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 bug in slicing into container adapter #635

Merged
merged 2 commits into from
Feb 5, 2024

Conversation

danielballan
Copy link
Member

@danielballan danielballan commented Jan 20, 2024

This bug was found at SasView Contributor Camp while trying to integrate Tiled with the sasdata loader.

The first commit reproduces the error by extending an existing test:

E           TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'

It also adds a new test, which does not exercise the bug, but nonetheless adds useful coverage to this general area of functionality.

The second commit fixes the bug.

@danielballan danielballan requested a review from nmaytan January 20, 2024 18:24
@danielballan
Copy link
Member Author

Merging this to un-block some export work, but any post-merge review is still welcome!

@danielballan danielballan merged commit 0cf5edd into bluesky:main Feb 5, 2024
8 checks passed
Copy link
Contributor

@padraic-shafer padraic-shafer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks quite reasonable.

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