Repository navigation
Tools return the corrected image with its axes, for Fiji hyperstacks - #9
Merged
Merged
Conversation
With labconstrictor-tools 0.3.0a4 or later (WithAxes), the corrected movie and the aligned image carry the axes the person gave, so Fiji opens a time-lapse with its time points and slices instead of one long stack. With an older Tools the array is returned as before. The tests read the array from either form, and check the axes when WithAxes exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Scma6VXx7mT1FYsKmB1184
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With labconstrictor-tools 0.3.0a4 or later (
WithAxes, CellMigrationLab/LabConstrictor-Tools#165), Correct drift and Align channels return their image with the axes the person gave. Fiji then opens a 3D time-lapse with Z and T sliders (z:1/20 t:1/4) instead of one stack of 80 slices. With an older Tools, the array is returned as before, so this can merge before the Tools release.src/fast4dreg_lc_tools:_with_axes()wraps the result whenWithAxesexists.tests/test_lc_tools.py: reads the array from either form, and checks the axes whenWithAxesexists (skipped otherwise).Checks
labconstrictor-tools test: 9/9 cases. ruff is clean.Generated by Claude Code