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

Use alignment flag in slicing instead of attrs #154

Merged
merged 3 commits into from Jul 10, 2023
Merged

Conversation

jl-wynen
Copy link
Member

@jl-wynen jl-wynen commented Jul 7, 2023

Fixes #150

Copy link
Member

@SimonHeybrock SimonHeybrock left a comment

Choose a reason for hiding this comment

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

Is there no test that needs updating for the new behavior?

Comment on lines 8 to 26
confuse==2.0.0
confuse==2.0.1
# via scipp
graphlib-backport==1.0.3
# via scipp
h5py==3.8.0
# via -r base.in
numpy==1.24.1
h5py==3.9.0
# via -r requirements/base.in
numpy==1.25.0
# via
# h5py
# scipp
# scipy
python-dateutil==2.8.2
# via -r base.in
# via -r requirements/base.in
pyyaml==6.0
# via confuse
scipp==23.5.0
# via -r base.in
scipy==1.10.0
# via -r base.in
scipp==23.7.0
# via -r requirements/base.in
scipy==1.11.1
# via -r requirements/base.in
Copy link
Member

Choose a reason for hiding this comment

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

Generally, please avoid running global dependency updates alongside other changes.

Copy link
Member Author

Choose a reason for hiding this comment

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

Replaced it with updating scipp only

@jl-wynen
Copy link
Member Author

jl-wynen commented Jul 7, 2023

Is there no test that needs updating for the new behavior?

Don't think so. There are tests that fail with the latest Scipp version and without this update. They compare slicing in ScippNeXus directly with slicing in Scipp.

@jl-wynen jl-wynen merged commit 6de9ad9 into main Jul 10, 2023
5 checks passed
@jl-wynen jl-wynen deleted the alignment-flag branch July 10, 2023 07:14
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.

Switch to using alignment flags instead of attrs
2 participants