-
Notifications
You must be signed in to change notification settings - Fork 21
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
feat: remove save logic and use pymmcore-plus writer from MDAWidget #315
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #315 +/- ##
==========================================
- Coverage 79.22% 78.49% -0.73%
==========================================
Files 15 13 -2
Lines 693 623 -70
==========================================
- Hits 549 489 -60
+ Misses 144 134 -10 ☔ View full report in Codecov by Sentry. |
…ri-micromanager into use_pymmcore_writers
@@ -8,10 +8,11 @@ | |||
|
|||
import napari | |||
import zarr | |||
from pymmcore_plus.mda.handlers._util import get_full_sequence_axes |
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.
never import private stuff from other packages, even if it's your package. I know it's annoying. but it just always comes back to bite you. I'll update this one
ok, i've had a look over and it looks good! I did add back the
assert dest.exists()
> assert data_shape == expected_shape
E assert [3, 7, 2, 500, 512] == [3, 2, 7, 500, 512]
E
E At index 1 diff: 7 != 2
E Use -v to get more diff any thoughts as to why the data is transposed? |
figured it out. the mda_widget appears to be changing the |
fixes by pymmcore-plus/pymmcore-widgets#286 |
looks like we're now hitting this bug: pymmcore-plus/pymmcore-plus#334 so there really is something to that one. Will see if I can recreate in pymmcore-plus and fix |
bug is fixed upstream, all passing now, will merge |
This PR only removes the saving logic that we had here in
napari-micromanager
and uses thepymmcore_plus
writers implemented in theMDAWidget
(pymmcore-plus/pymmcore-widgets#279).see also #316