-
Couldn't load subscription status.
- Fork 3
Update to scipp0.16 #138
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
Update to scipp0.16 #138
Conversation
.buildconfig/ci.yml
Outdated
| - scippneutron=0.8.0 | ||
| - scippnexus=0.1.7 | ||
| - scipp=0.16.2 | ||
| - scippneutron=0.9.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's wait for scippneutron 0.9.2 (building now)
| from scippneutron.tof import conversions | ||
| from scippneutron.core.conversions import _elem_dtype, _elem_unit | ||
| from scippneutron.conversion.graph import beamline, tof | ||
| from scippneutron._utils import elem_dtype, elem_unit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need a proper way of exposing these! (This is a comment about scipp...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am wondering once more whether dtype and unit should just forward to the elem dtype and unit? There are several questions:
- What to do for
Datasetbuffer? There is not uniquedtypeandunitin this case.unitcould beNone. - How to get the buffer type, if not via
dtype? - Is there code that will break, and why?
src/ess/sans/conversions.py
Outdated
| from scippneutron._utils import elem_unit | ||
|
|
||
| # from scippneutron.tof import conversions | ||
| # from scippneutron.core.conversions import _elem_unit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove
These changes are mainly due to coordinate transformation graphs having been moved to a new location in
scippneutron.