muvis-align 0.7.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- muvis_align-0.7.1/.claude/skills/napari-ui-capture/SKILL.md +14 -0
- muvis_align-0.7.1/.claude-plugin/marketplace.json +14 -0
- muvis_align-0.7.1/.claude-plugin/plugin.json +9 -0
- muvis_align-0.7.1/.copier-answers.yml +18 -0
- muvis_align-0.7.1/.github/ISSUE_TEMPLATE/bug_report.yml +87 -0
- muvis_align-0.7.1/.github/ISSUE_TEMPLATE/documentation.md +11 -0
- muvis_align-0.7.1/.github/ISSUE_TEMPLATE/feature_request.md +27 -0
- muvis_align-0.7.1/.github/ISSUE_TEMPLATE/task.md +11 -0
- muvis_align-0.7.1/.github/PULL_REQUEST_TEMPLATE.md +12 -0
- muvis_align-0.7.1/.github/dependabot.yml +33 -0
- muvis_align-0.7.1/.github/workflows/test_and_deploy.yml +117 -0
- muvis_align-0.7.1/.gitignore +96 -0
- muvis_align-0.7.1/.napari-hub/DESCRIPTION.md +9 -0
- muvis_align-0.7.1/.napari-hub/config.yml +9 -0
- muvis_align-0.7.1/.pre-commit-config.yaml +27 -0
- muvis_align-0.7.1/AGENTS.md +41 -0
- muvis_align-0.7.1/CLAUDE.md +1 -0
- muvis_align-0.7.1/Dockerfile +149 -0
- muvis_align-0.7.1/LICENSE.md +7 -0
- muvis_align-0.7.1/MANIFEST.in +5 -0
- muvis_align-0.7.1/PKG-INFO +174 -0
- muvis_align-0.7.1/README.md +120 -0
- muvis_align-0.7.1/apptainer-check.sh +83 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y00--C00.ome.zarr/scale0/image/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y00--C00.ome.zarr/scale0/image/zarr.json +55 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y00--C00.ome.zarr/scale0/zarr.json +13 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y00--C00.ome.zarr/scale1/image/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y00--C00.ome.zarr/scale1/image/zarr.json +55 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y00--C00.ome.zarr/scale1/zarr.json +13 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y00--C00.ome.zarr/zarr.json +244 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y01--C00.ome.zarr/scale0/image/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y01--C00.ome.zarr/scale0/image/zarr.json +55 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y01--C00.ome.zarr/scale0/zarr.json +13 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y01--C00.ome.zarr/scale1/image/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y01--C00.ome.zarr/scale1/image/zarr.json +55 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y01--C00.ome.zarr/scale1/zarr.json +13 -0
- muvis_align-0.7.1/data/3d/RL00--X00--Y01--C00.ome.zarr/zarr.json +244 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y00--C00.ome.zarr/scale0/image/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y00--C00.ome.zarr/scale0/image/zarr.json +55 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y00--C00.ome.zarr/scale0/zarr.json +13 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y00--C00.ome.zarr/scale1/image/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y00--C00.ome.zarr/scale1/image/zarr.json +55 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y00--C00.ome.zarr/scale1/zarr.json +13 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y00--C00.ome.zarr/zarr.json +244 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y01--C00.ome.zarr/scale0/image/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y01--C00.ome.zarr/scale0/image/zarr.json +55 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y01--C00.ome.zarr/scale0/zarr.json +13 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y01--C00.ome.zarr/scale1/image/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y01--C00.ome.zarr/scale1/image/zarr.json +55 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y01--C00.ome.zarr/scale1/zarr.json +13 -0
- muvis_align-0.7.1/data/3d/RL00--X01--Y01--C00.ome.zarr/zarr.json +244 -0
- muvis_align-0.7.1/data/S000/000_000_0.tiff +0 -0
- muvis_align-0.7.1/data/S000/000_001_0.tiff +0 -0
- muvis_align-0.7.1/data/S000/001_000_0.tiff +0 -0
- muvis_align-0.7.1/data/S000/001_001_0.tiff +0 -0
- muvis_align-0.7.1/data/S000/S000_000_000.ome.zarr/0/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S000/S000_000_000.ome.zarr/0/zarr.json +48 -0
- muvis_align-0.7.1/data/S000/S000_000_000.ome.zarr/1/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S000/S000_000_000.ome.zarr/1/zarr.json +48 -0
- muvis_align-0.7.1/data/S000/S000_000_000.ome.zarr/2/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S000/S000_000_000.ome.zarr/2/zarr.json +48 -0
- muvis_align-0.7.1/data/S000/S000_000_000.ome.zarr/zarr.json +131 -0
- muvis_align-0.7.1/data/S000/S000_000_001.ome.zarr/0/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S000/S000_000_001.ome.zarr/0/zarr.json +48 -0
- muvis_align-0.7.1/data/S000/S000_000_001.ome.zarr/1/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S000/S000_000_001.ome.zarr/1/zarr.json +48 -0
- muvis_align-0.7.1/data/S000/S000_000_001.ome.zarr/2/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S000/S000_000_001.ome.zarr/2/zarr.json +48 -0
- muvis_align-0.7.1/data/S000/S000_000_001.ome.zarr/zarr.json +131 -0
- muvis_align-0.7.1/data/S000/S000_001_000.ome.zarr/0/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S000/S000_001_000.ome.zarr/0/zarr.json +48 -0
- muvis_align-0.7.1/data/S000/S000_001_000.ome.zarr/1/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S000/S000_001_000.ome.zarr/1/zarr.json +48 -0
- muvis_align-0.7.1/data/S000/S000_001_000.ome.zarr/2/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S000/S000_001_000.ome.zarr/2/zarr.json +48 -0
- muvis_align-0.7.1/data/S000/S000_001_000.ome.zarr/zarr.json +131 -0
- muvis_align-0.7.1/data/S000/S000_001_001.ome.zarr/0/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S000/S000_001_001.ome.zarr/0/zarr.json +48 -0
- muvis_align-0.7.1/data/S000/S000_001_001.ome.zarr/1/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S000/S000_001_001.ome.zarr/1/zarr.json +48 -0
- muvis_align-0.7.1/data/S000/S000_001_001.ome.zarr/2/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S000/S000_001_001.ome.zarr/2/zarr.json +48 -0
- muvis_align-0.7.1/data/S000/S000_001_001.ome.zarr/zarr.json +131 -0
- muvis_align-0.7.1/data/S001/000_000_0.tiff +0 -0
- muvis_align-0.7.1/data/S001/000_001_0.tiff +0 -0
- muvis_align-0.7.1/data/S001/001_000_0.tiff +0 -0
- muvis_align-0.7.1/data/S001/001_001_0.tiff +0 -0
- muvis_align-0.7.1/data/S001/S001_000_000.ome.zarr/0/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S001/S001_000_000.ome.zarr/0/zarr.json +48 -0
- muvis_align-0.7.1/data/S001/S001_000_000.ome.zarr/1/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S001/S001_000_000.ome.zarr/1/zarr.json +48 -0
- muvis_align-0.7.1/data/S001/S001_000_000.ome.zarr/2/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S001/S001_000_000.ome.zarr/2/zarr.json +48 -0
- muvis_align-0.7.1/data/S001/S001_000_000.ome.zarr/zarr.json +131 -0
- muvis_align-0.7.1/data/S001/S001_000_001.ome.zarr/0/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S001/S001_000_001.ome.zarr/0/zarr.json +48 -0
- muvis_align-0.7.1/data/S001/S001_000_001.ome.zarr/1/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S001/S001_000_001.ome.zarr/1/zarr.json +48 -0
- muvis_align-0.7.1/data/S001/S001_000_001.ome.zarr/2/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S001/S001_000_001.ome.zarr/2/zarr.json +48 -0
- muvis_align-0.7.1/data/S001/S001_000_001.ome.zarr/zarr.json +131 -0
- muvis_align-0.7.1/data/S001/S001_001_000.ome.zarr/0/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S001/S001_001_000.ome.zarr/0/zarr.json +48 -0
- muvis_align-0.7.1/data/S001/S001_001_000.ome.zarr/1/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S001/S001_001_000.ome.zarr/1/zarr.json +48 -0
- muvis_align-0.7.1/data/S001/S001_001_000.ome.zarr/2/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S001/S001_001_000.ome.zarr/2/zarr.json +48 -0
- muvis_align-0.7.1/data/S001/S001_001_000.ome.zarr/zarr.json +131 -0
- muvis_align-0.7.1/data/S001/S001_001_001.ome.zarr/0/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S001/S001_001_001.ome.zarr/0/zarr.json +48 -0
- muvis_align-0.7.1/data/S001/S001_001_001.ome.zarr/1/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S001/S001_001_001.ome.zarr/1/zarr.json +48 -0
- muvis_align-0.7.1/data/S001/S001_001_001.ome.zarr/2/c/0/0/0/0/0 +0 -0
- muvis_align-0.7.1/data/S001/S001_001_001.ome.zarr/2/zarr.json +48 -0
- muvis_align-0.7.1/data/S001/S001_001_001.ome.zarr/zarr.json +131 -0
- muvis_align-0.7.1/data/aligned_stitched_mappings1.json +3402 -0
- muvis_align-0.7.1/data/aligned_stitched_mappings2.json +5202 -0
- muvis_align-0.7.1/debug_napari.py +13 -0
- muvis_align-0.7.1/docker-build-push.sh +42 -0
- muvis_align-0.7.1/docs/images/EMPAIR12193overlay.png +0 -0
- muvis_align-0.7.1/docs/images/FAIR.png +0 -0
- muvis_align-0.7.1/docs/images/chunked.png +0 -0
- muvis_align-0.7.1/docs/images/muvis-align-logo.png +0 -0
- muvis_align-0.7.1/docs/images/muvis-align-logo256.png +0 -0
- muvis_align-0.7.1/docs/images/muvis-align-logo32.png +0 -0
- muvis_align-0.7.1/docs/images/muvis-align-modify-pair-reg.png +0 -0
- muvis_align-0.7.1/docs/images/napari/fused.png +0 -0
- muvis_align-0.7.1/docs/images/napari/fusion.png +0 -0
- muvis_align-0.7.1/docs/images/napari/input_output.png +0 -0
- muvis_align-0.7.1/docs/images/napari/pair_good.png +0 -0
- muvis_align-0.7.1/docs/images/napari/pair_poor.png +0 -0
- muvis_align-0.7.1/docs/images/napari/pre_processing.png +0 -0
- muvis_align-0.7.1/docs/images/napari/project.png +0 -0
- muvis_align-0.7.1/docs/images/napari/registered.png +0 -0
- muvis_align-0.7.1/docs/images/napari/registration.png +0 -0
- muvis_align-0.7.1/docs/images/napari/window.png +0 -0
- muvis_align-0.7.1/docs/images/ram.png +0 -0
- muvis_align-0.7.1/docs/index.md +165 -0
- muvis_align-0.7.1/docs/napari_guide.md +253 -0
- muvis_align-0.7.1/docs/notebooks.md +501 -0
- muvis_align-0.7.1/docs/pipeline.md +444 -0
- muvis_align-0.7.1/docs/poster.md +78 -0
- muvis_align-0.7.1/docs/pre_poster.md +142 -0
- muvis_align-0.7.1/docs/references.md +2 -0
- muvis_align-0.7.1/docs/requirements.txt +3 -0
- muvis_align-0.7.1/docs/technical.md +715 -0
- muvis_align-0.7.1/environment.yml +20 -0
- muvis_align-0.7.1/environment06.yml +23 -0
- muvis_align-0.7.1/environment_napari06.yml +13 -0
- muvis_align-0.7.1/mkdocs.yml +65 -0
- muvis_align-0.7.1/multiview-stitcher.yml +21 -0
- muvis_align-0.7.1/notebooks/3d_view.ipynb +114 -0
- muvis_align-0.7.1/notebooks/feature_matching.ipynb +134 -0
- muvis_align-0.7.1/notebooks/feature_matching_metrics.ipynb +139 -0
- muvis_align-0.7.1/notebooks/feature_matching_overlay.ipynb +158 -0
- muvis_align-0.7.1/notebooks/pipeline.ipynb +226 -0
- muvis_align-0.7.1/notebooks/stitching2d.ipynb +180 -0
- muvis_align-0.7.1/notebooks/stitching2d_metrics.ipynb +242 -0
- muvis_align-0.7.1/notebooks/stitching2d_split_registration.ipynb +233 -0
- muvis_align-0.7.1/notebooks/tile_staging_napari.ipynb +133 -0
- muvis_align-0.7.1/notes/coverage_plan_codex.md +101 -0
- muvis_align-0.7.1/notes/coverage_plan_copilot_cluade.md +80 -0
- muvis_align-0.7.1/notes/coverage_plan_copilot_gpt.md +40 -0
- muvis_align-0.7.1/notes/metrics.md +13 -0
- muvis_align-0.7.1/notes/multiview_stitcher.md +348 -0
- muvis_align-0.7.1/notes/parameters.md +29 -0
- muvis_align-0.7.1/notes/todo_known_issues.md +555 -0
- muvis_align-0.7.1/notes/ui_design.md +52 -0
- muvis_align-0.7.1/notes/user_access.md +27 -0
- muvis_align-0.7.1/pyproject.toml +161 -0
- muvis_align-0.7.1/requirements.txt +25 -0
- muvis_align-0.7.1/resources/params_EM04652_02_slice017.yml +26 -0
- muvis_align-0.7.1/resources/params_EM04652_02_slice017_compose.yml +36 -0
- muvis_align-0.7.1/resources/params_EM04652_02_slice017_ov.yml +40 -0
- muvis_align-0.7.1/resources/params_EM04654_slice011.yml +46 -0
- muvis_align-0.7.1/resources/params_EM04768_01_Sub_04_Cell_1_10nm_10us.yml +263 -0
- muvis_align-0.7.1/resources/params_EM04768_01_Sub_04_Cell_1_10nm_2us.yml +247 -0
- muvis_align-0.7.1/resources/params_EM04768_01_Sub_04_Cell_1_20nm_5us.yml +263 -0
- muvis_align-0.7.1/resources/params_EM04788_02_Sub_02_10nm.yml +322 -0
- muvis_align-0.7.1/resources/params_EM04788_02_Sub_02_20nm.yml +322 -0
- muvis_align-0.7.1/resources/params_EM04788_03_Sub_01_10nm.yml +367 -0
- muvis_align-0.7.1/resources/params_EM04788_03_Sub_01_20nm.yml +367 -0
- muvis_align-0.7.1/resources/params_EM04788_extra.yml +82 -0
- muvis_align-0.7.1/resources/params_EM04788_local.yml +22 -0
- muvis_align-0.7.1/resources/params_EMPIAR12193.yml +67 -0
- muvis_align-0.7.1/resources/params_EMPIAR12193_2stage.yml +45 -0
- muvis_align-0.7.1/resources/params_EMPIAR12193_test.yml +36 -0
- muvis_align-0.7.1/resources/params_align_stack.yml +30 -0
- muvis_align-0.7.1/resources/params_ciqtek.yml +31 -0
- muvis_align-0.7.1/resources/params_multichannel.yml +64 -0
- muvis_align-0.7.1/resources/params_multichannel_local.yml +28 -0
- muvis_align-0.7.1/resources/params_multichannel_local2.yml +25 -0
- muvis_align-0.7.1/resources/params_multichannel_small.yml +33 -0
- muvis_align-0.7.1/resources/params_single_tile.yml +27 -0
- muvis_align-0.7.1/resources/params_stack_test.yml +23 -0
- muvis_align-0.7.1/resources/params_stitch_EM.yml +27 -0
- muvis_align-0.7.1/resources/params_stitching_transition.yml +31 -0
- muvis_align-0.7.1/resources/params_test.yml +32 -0
- muvis_align-0.7.1/resources/params_test_2d.yml +23 -0
- muvis_align-0.7.1/resources/params_test_2d2.yml +26 -0
- muvis_align-0.7.1/resources/params_test_2d_overlay.yml +25 -0
- muvis_align-0.7.1/resources/params_test_3d.yml +25 -0
- muvis_align-0.7.1/resources/params_test_convert.yml +25 -0
- muvis_align-0.7.1/resources/params_test_overlay.yml +22 -0
- muvis_align-0.7.1/resources/params_test_tiff.yml +23 -0
- muvis_align-0.7.1/run.py +21 -0
- muvis_align-0.7.1/run_pipeline.sh +38 -0
- muvis_align-0.7.1/setup.cfg +4 -0
- muvis_align-0.7.1/skills/muvis-align/SKILL.md +122 -0
- muvis_align-0.7.1/skills/muvis-align/examples/match_sets.yml +18 -0
- muvis_align-0.7.1/skills/muvis-align/examples/merge_no_registration.yml +11 -0
- muvis_align-0.7.1/skills/muvis-align/examples/stack.yml +14 -0
- muvis_align-0.7.1/skills/muvis-align/examples/stitch_2d.yml +21 -0
- muvis_align-0.7.1/skills/muvis-align/references/python-api.md +61 -0
- muvis_align-0.7.1/src/muvis_align/GlobalOptProgress.py +169 -0
- muvis_align-0.7.1/src/muvis_align/MVSRegistration.py +2594 -0
- muvis_align-0.7.1/src/muvis_align/Pipeline.py +141 -0
- muvis_align-0.7.1/src/muvis_align/Timer.py +59 -0
- muvis_align-0.7.1/src/muvis_align/__init__.py +11 -0
- muvis_align-0.7.1/src/muvis_align/_sample_data.py +98 -0
- muvis_align-0.7.1/src/muvis_align/_version.py +24 -0
- muvis_align-0.7.1/src/muvis_align/_widget.py +128 -0
- muvis_align-0.7.1/src/muvis_align/constants.py +191 -0
- muvis_align-0.7.1/src/muvis_align/file/project_yaml.py +41 -0
- muvis_align-0.7.1/src/muvis_align/file/resources.py +15 -0
- muvis_align-0.7.1/src/muvis_align/file/transforms.py +37 -0
- muvis_align-0.7.1/src/muvis_align/fusion_blocks.py +631 -0
- muvis_align-0.7.1/src/muvis_align/fusion_methods/FusionMethod.py +7 -0
- muvis_align-0.7.1/src/muvis_align/fusion_methods/FusionMethodAdditive.py +20 -0
- muvis_align-0.7.1/src/muvis_align/fusion_methods/FusionMethodAverage.py +25 -0
- muvis_align-0.7.1/src/muvis_align/fusion_methods/FusionMethodExclusive.py +25 -0
- muvis_align-0.7.1/src/muvis_align/image/ImageSource.py +340 -0
- muvis_align-0.7.1/src/muvis_align/image/TiffImageSource.py +85 -0
- muvis_align-0.7.1/src/muvis_align/image/Video.py +31 -0
- muvis_align-0.7.1/src/muvis_align/image/ZarrImageSource.py +111 -0
- muvis_align-0.7.1/src/muvis_align/image/color_conversion.py +23 -0
- muvis_align-0.7.1/src/muvis_align/image/flatfield.py +99 -0
- muvis_align-0.7.1/src/muvis_align/image/lazy_overview.py +389 -0
- muvis_align-0.7.1/src/muvis_align/image/ome_helper.py +56 -0
- muvis_align-0.7.1/src/muvis_align/image/ome_tiff_helper.py +391 -0
- muvis_align-0.7.1/src/muvis_align/image/ome_zarr_helper.py +323 -0
- muvis_align-0.7.1/src/muvis_align/image/ome_zarr_util.py +173 -0
- muvis_align-0.7.1/src/muvis_align/image/reg_util.py +47 -0
- muvis_align-0.7.1/src/muvis_align/image/source_helper.py +95 -0
- muvis_align-0.7.1/src/muvis_align/image/util.py +2549 -0
- muvis_align-0.7.1/src/muvis_align/logging.py +66 -0
- muvis_align-0.7.1/src/muvis_align/metrics.py +373 -0
- muvis_align-0.7.1/src/muvis_align/muvis-align-logo256.png +0 -0
- muvis_align-0.7.1/src/muvis_align/napari.yaml +43 -0
- muvis_align-0.7.1/src/muvis_align/registration_methods/RegistrationMethod.py +40 -0
- muvis_align-0.7.1/src/muvis_align/registration_methods/RegistrationMethodCPD.py +80 -0
- muvis_align-0.7.1/src/muvis_align/registration_methods/RegistrationMethodCvFeatures.py +125 -0
- muvis_align-0.7.1/src/muvis_align/registration_methods/RegistrationMethodDummy.py +17 -0
- muvis_align-0.7.1/src/muvis_align/registration_methods/RegistrationMethodSkFeatures.py +223 -0
- muvis_align-0.7.1/src/muvis_align/robust_resolution.py +179 -0
- muvis_align-0.7.1/src/muvis_align/split_registration.py +205 -0
- muvis_align-0.7.1/src/muvis_align/ui/Interface.py +2263 -0
- muvis_align-0.7.1/src/muvis_align/ui/MagicColorPicker.py +91 -0
- muvis_align-0.7.1/src/muvis_align/ui/ModelTable.py +115 -0
- muvis_align-0.7.1/src/muvis_align/ui/NapariDaskProgress.py +32 -0
- muvis_align-0.7.1/src/muvis_align/ui/NapariMVSProgress.py +113 -0
- muvis_align-0.7.1/src/muvis_align/ui/NapariPhaseProgress.py +404 -0
- muvis_align-0.7.1/src/muvis_align/ui/ParamWidget.py +84 -0
- muvis_align-0.7.1/src/muvis_align/ui/PathList.py +122 -0
- muvis_align-0.7.1/src/muvis_align/ui/QtNapariTqdm.py +69 -0
- muvis_align-0.7.1/src/muvis_align/ui/__init__.py +0 -0
- muvis_align-0.7.1/src/muvis_align/ui/_utils.py +241 -0
- muvis_align-0.7.1/src/muvis_align/ui/bilayers_util.py +132 -0
- muvis_align-0.7.1/src/muvis_align/ui/create_widgets.py +225 -0
- muvis_align-0.7.1/src/muvis_align/ui/project_template.yaml +616 -0
- muvis_align-0.7.1/src/muvis_align/util.py +1433 -0
- muvis_align-0.7.1/src/muvis_align/zarr_compat.py +69 -0
- muvis_align-0.7.1/src/muvis_align.egg-info/PKG-INFO +174 -0
- muvis_align-0.7.1/src/muvis_align.egg-info/SOURCES.txt +347 -0
- muvis_align-0.7.1/src/muvis_align.egg-info/dependency_links.txt +1 -0
- muvis_align-0.7.1/src/muvis_align.egg-info/entry_points.txt +2 -0
- muvis_align-0.7.1/src/muvis_align.egg-info/requires.txt +30 -0
- muvis_align-0.7.1/src/muvis_align.egg-info/scm_file_list.json +342 -0
- muvis_align-0.7.1/src/muvis_align.egg-info/scm_version.json +8 -0
- muvis_align-0.7.1/src/muvis_align.egg-info/top_level.txt +1 -0
- muvis_align-0.7.1/testing/basic_read_test.py +57 -0
- muvis_align-0.7.1/testing/code_unchanged.py +40 -0
- muvis_align-0.7.1/testing/colors_test.py +11 -0
- muvis_align-0.7.1/testing/convert_to_zarr.py +78 -0
- muvis_align-0.7.1/testing/dask_test.py +192 -0
- muvis_align-0.7.1/testing/feature_registration.py +65 -0
- muvis_align-0.7.1/testing/fix_labels.py +16 -0
- muvis_align-0.7.1/testing/fusion_testing.py +68 -0
- muvis_align-0.7.1/testing/global_solve_whatif.py +174 -0
- muvis_align-0.7.1/testing/local_perf_bench.py +112 -0
- muvis_align-0.7.1/testing/log_stats_extraction.py +31 -0
- muvis_align-0.7.1/testing/make_single_resolution_zarr.py +47 -0
- muvis_align-0.7.1/testing/make_synthetic_project.py +86 -0
- muvis_align-0.7.1/testing/mappings_analysis.py +23 -0
- muvis_align-0.7.1/testing/metrics_test.py +52 -0
- muvis_align-0.7.1/testing/mvs_testing.py +486 -0
- muvis_align-0.7.1/testing/napari_test.py +144 -0
- muvis_align-0.7.1/testing/napari_ui_capture.py +224 -0
- muvis_align-0.7.1/testing/neuroglancer_test.py +6 -0
- muvis_align-0.7.1/testing/process_memory_test.py +21 -0
- muvis_align-0.7.1/testing/register_2d_in_3d.py +175 -0
- muvis_align-0.7.1/testing/sim_transforms_testing.py +50 -0
- muvis_align-0.7.1/testing/timer_test.py +6 -0
- muvis_align-0.7.1/testing/transform_serialisation.py +121 -0
- muvis_align-0.7.1/testing/transforms_test.py +46 -0
- muvis_align-0.7.1/tests/__init__.py +0 -0
- muvis_align-0.7.1/tests/_dummy_tiff.py +181 -0
- muvis_align-0.7.1/tests/conftest.py +13 -0
- muvis_align-0.7.1/tests/data_builders.py +166 -0
- muvis_align-0.7.1/tests/muvis_align_project.yml +47 -0
- muvis_align-0.7.1/tests/muvis_align_project2.yml +46 -0
- muvis_align-0.7.1/tests/muvis_align_project3d.yml +48 -0
- muvis_align-0.7.1/tests/test_available_memory.py +61 -0
- muvis_align-0.7.1/tests/test_bilayers_util.py +91 -0
- muvis_align-0.7.1/tests/test_create_bounding_boxes.py +414 -0
- muvis_align-0.7.1/tests/test_create_widgets.py +155 -0
- muvis_align-0.7.1/tests/test_flatfield.py +147 -0
- muvis_align-0.7.1/tests/test_fusion_blocks.py +342 -0
- muvis_align-0.7.1/tests/test_fusion_methods.py +81 -0
- muvis_align-0.7.1/tests/test_image_source.py +245 -0
- muvis_align-0.7.1/tests/test_image_util_chunk_sizes.py +197 -0
- muvis_align-0.7.1/tests/test_image_util_msim.py +386 -0
- muvis_align-0.7.1/tests/test_image_util_transforms.py +196 -0
- muvis_align-0.7.1/tests/test_interface.py +2773 -0
- muvis_align-0.7.1/tests/test_lazy_overview.py +348 -0
- muvis_align-0.7.1/tests/test_lazy_pyramid_levels.py +141 -0
- muvis_align-0.7.1/tests/test_metrics.py +201 -0
- muvis_align-0.7.1/tests/test_mvs_registration_unit.py +1573 -0
- muvis_align-0.7.1/tests/test_pairs_graph.py +136 -0
- muvis_align-0.7.1/tests/test_param_widget.py +121 -0
- muvis_align-0.7.1/tests/test_preview_size_cap.py +173 -0
- muvis_align-0.7.1/tests/test_registration_method_cpd.py +146 -0
- muvis_align-0.7.1/tests/test_registration_method_features.py +297 -0
- muvis_align-0.7.1/tests/test_robust_resolution.py +130 -0
- muvis_align-0.7.1/tests/test_rocrate.py +105 -0
- muvis_align-0.7.1/tests/test_run.py +246 -0
- muvis_align-0.7.1/tests/test_sample_data.py +122 -0
- muvis_align-0.7.1/tests/test_shape_geometry.py +156 -0
- muvis_align-0.7.1/tests/test_split_registration.py +175 -0
- muvis_align-0.7.1/tests/test_tiff_source_metadata.py +336 -0
- muvis_align-0.7.1/tests/test_ui_utils.py +170 -0
- muvis_align-0.7.1/tests/test_utils.py +710 -0
- muvis_align-0.7.1/tests/test_widget.py +76 -0
- muvis_align-0.7.1/tests/test_zarr_compat.py +105 -0
- muvis_align-0.7.1/tests/test_zarr_source_metadata.py +146 -0
- muvis_align-0.7.1/tox.ini +43 -0
- muvis_align-0.7.1/xpra-connect.sh +210 -0
- muvis_align-0.7.1/xpra-pull.sh +108 -0
- muvis_align-0.7.1/xpra-run.sh +383 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: napari-ui-capture
|
|
3
|
+
description: Drive the muvis-align napari plugin from a script and screenshot it, to see what it actually shows (progress bars, dialogs, layers) without asking the user. Use when checking or debugging a viewer/UI change.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Running the napari UI without user input
|
|
7
|
+
|
|
8
|
+
- To see what the plugin actually shows (progress bars, dialogs, layers), drive it from a script instead of asking the user: `testing/napari_ui_capture.py <project.yml> <shots_dir> --action open|pre_processing|pair_registration`.
|
|
9
|
+
- It opens the project through `Interface.project_path()` + `input_output_process()`, runs the action from a `QTimer.singleShot` on the Qt thread (as a button click would), and closes the viewer when done.
|
|
10
|
+
- It answers every `QMessageBox` itself (question -> Yes, notices -> Ok, logged as `capture: ...`): a scripted run must never wait on a dialog. Cover any other dialog an action opens before running it. To screenshot a box, `--show-boxes <seconds>` draws it (on top) for that long before closing it with the same answer.
|
|
11
|
+
- Screenshots come from `PIL.ImageGrab` on a background thread, once a second - a Qt grab would stall along with a blocked Qt thread. Filenames carry the elapsed time, the current step and `dialog.isVisible()`.
|
|
12
|
+
- Make short steps long enough to watch with `--slow <Interface-module name>` (e.g. `make_msims_3d`, `Interface._update_view_add_shapes`), which sleeps before calling it.
|
|
13
|
+
- Keep the window fully on screen (the script moves it to 0,0): the activity dialog sits at its bottom right. Qt saying a widget is visible does not mean it is painted - check the image (view it, or compare a cropped region's pixel spread across frames).
|
|
14
|
+
- Test project: `C:/project/slides/muvis_align_project.yml` (328 tiffs, 5 sections).
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "muvis-align",
|
|
3
|
+
"owner": {
|
|
4
|
+
"name": "Joost de Folter"
|
|
5
|
+
},
|
|
6
|
+
"description": "Agent skills for using muvis-align, microscopy image registration and fusion",
|
|
7
|
+
"plugins": [
|
|
8
|
+
{
|
|
9
|
+
"name": "muvis-align",
|
|
10
|
+
"source": "./",
|
|
11
|
+
"description": "Skill for registering and fusing microscopy tiles, stacks and channels with muvis-align (pipeline YAML and Python API)"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "muvis-align",
|
|
3
|
+
"description": "Skill for registering and fusing microscopy tiles, stacks and channels with muvis-align (pipeline YAML and Python API)",
|
|
4
|
+
"author": {"name": "Joost de Folter"},
|
|
5
|
+
"homepage": "https://ccp-volume-em.github.io/muvis-align/",
|
|
6
|
+
"repository": "https://github.com/ccp-volume-em/muvis-align",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"skills": ["./skills/muvis-align"]
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
|
|
2
|
+
_commit: v2.0.1
|
|
3
|
+
_src_path: https://github.com/napari/napari-plugin-template
|
|
4
|
+
display_name: muvis-align
|
|
5
|
+
email: folterj@gmail.com
|
|
6
|
+
full_name: Joost de Folter
|
|
7
|
+
github_repository_url: provide later
|
|
8
|
+
github_username_or_organization: folterj
|
|
9
|
+
include_reader_plugin: false
|
|
10
|
+
include_sample_data_plugin: false
|
|
11
|
+
include_widget_plugin: true
|
|
12
|
+
include_writer_plugin: false
|
|
13
|
+
install_dependabot: true
|
|
14
|
+
install_precommit: true
|
|
15
|
+
license: MIT
|
|
16
|
+
module_name: muvis_align
|
|
17
|
+
plugin_name: muvis-align
|
|
18
|
+
short_description: Image registration using multiview-stitcher
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
name: "\U0001F41B Bug Report"
|
|
2
|
+
description: Report a bug encountered while using napari-muvis-align
|
|
3
|
+
labels:
|
|
4
|
+
- "bug"
|
|
5
|
+
|
|
6
|
+
body:
|
|
7
|
+
- type: markdown
|
|
8
|
+
attributes:
|
|
9
|
+
value: |
|
|
10
|
+
Thanks for taking the time to report this issue! 🙏🏼
|
|
11
|
+
|
|
12
|
+
Please fill out the sections below to help us reproduce the problem.
|
|
13
|
+
|
|
14
|
+
- type: textarea
|
|
15
|
+
id: bug-report
|
|
16
|
+
attributes:
|
|
17
|
+
label: "\U0001F41B Bug Report"
|
|
18
|
+
description: "Please provide a clear and concise description of the bug."
|
|
19
|
+
placeholder: "What went wrong? What did you expect to happen?"
|
|
20
|
+
validations:
|
|
21
|
+
required: true
|
|
22
|
+
|
|
23
|
+
- type: textarea
|
|
24
|
+
id: steps-to-reproduce
|
|
25
|
+
attributes:
|
|
26
|
+
label: "\U0001F4A1 Steps to Reproduce"
|
|
27
|
+
description: "Please provide a minimal code snippet or list of steps to reproduce the bug."
|
|
28
|
+
placeholder: |
|
|
29
|
+
1. Go to '...'
|
|
30
|
+
2. Click on '....'
|
|
31
|
+
3. Scroll down to '....'
|
|
32
|
+
4. See error
|
|
33
|
+
validations:
|
|
34
|
+
required: true
|
|
35
|
+
|
|
36
|
+
- type: textarea
|
|
37
|
+
id: expected-behavior
|
|
38
|
+
attributes:
|
|
39
|
+
label: "\U0001F4A1 Expected Behavior"
|
|
40
|
+
description: "Please provide a clear and concise description of what you expected to happen."
|
|
41
|
+
placeholder: "What did you expect to happen?"
|
|
42
|
+
|
|
43
|
+
- type: textarea
|
|
44
|
+
id: environment
|
|
45
|
+
attributes:
|
|
46
|
+
label: "\U0001F30E Environment"
|
|
47
|
+
description: |
|
|
48
|
+
Please provide detailed information regarding your environment. Please paste the output of `napari --info` here or copy the information from the "napari info" dialog in the napari Help menu.
|
|
49
|
+
|
|
50
|
+
Otherwise, please provide information regarding your operating system (OS), Python version, napari version, Qt backend and version, Qt platform, method of installation, and any other relevant information related to your environment.
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
placeholder: |
|
|
54
|
+
napari: 0.5.0
|
|
55
|
+
Platform: macOS-13.2.1-arm64-arm-64bit
|
|
56
|
+
System: MacOS 13.2.1
|
|
57
|
+
Python: 3.11.4 (main, Aug 7 2023, 20:34:01) [Clang 14.0.3 (clang-1403.0.22.14.1)]
|
|
58
|
+
Qt: 5.15.10
|
|
59
|
+
PyQt5: 5.15.10
|
|
60
|
+
NumPy: 1.25.1
|
|
61
|
+
SciPy: 1.11.1
|
|
62
|
+
Dask: 2023.7.1
|
|
63
|
+
VisPy: 0.13.0
|
|
64
|
+
magicgui: 0.7.2
|
|
65
|
+
superqt: 0.5.4
|
|
66
|
+
in-n-out: 0.1.8
|
|
67
|
+
app-model: 0.2.0
|
|
68
|
+
npe2: 0.7.2
|
|
69
|
+
|
|
70
|
+
OpenGL:
|
|
71
|
+
- GL version: 2.1 Metal - 83
|
|
72
|
+
- MAX_TEXTURE_SIZE: 16384
|
|
73
|
+
|
|
74
|
+
Screens:
|
|
75
|
+
- screen 1: resolution 1512x982, scale 2.0
|
|
76
|
+
|
|
77
|
+
Settings path:
|
|
78
|
+
- /Users/.../napari/napari_5c6993c40c104085444cfc0c77fa392cb5cb8f56/settings.yaml
|
|
79
|
+
validations:
|
|
80
|
+
required: true
|
|
81
|
+
|
|
82
|
+
- type: textarea
|
|
83
|
+
id: additional-context
|
|
84
|
+
attributes:
|
|
85
|
+
label: "\U0001F4A1 Additional Context"
|
|
86
|
+
description: "Please provide any additional information or context regarding the problem here."
|
|
87
|
+
placeholder: "Add any other context about the problem here."
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "\U0001F4DA Documentation"
|
|
3
|
+
about: Report an issue with napari-muvis-align documentation
|
|
4
|
+
title: ''
|
|
5
|
+
labels: documentation
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 📚 Documentation
|
|
11
|
+
<!-- A clear and concise description of the documentation that needs to be created/updated -->
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "\U0001F680 Feature Request"
|
|
3
|
+
about: Submit a proposal/request for a new napari-muvis-align feature
|
|
4
|
+
title: ''
|
|
5
|
+
labels: feature
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## 🚀 Feature
|
|
11
|
+
<!-- A clear and concise description of the feature proposal -->
|
|
12
|
+
|
|
13
|
+
## Motivation
|
|
14
|
+
|
|
15
|
+
<!-- Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too -->
|
|
16
|
+
|
|
17
|
+
## Pitch
|
|
18
|
+
|
|
19
|
+
<!-- A clear and concise description of what you want to happen. -->
|
|
20
|
+
|
|
21
|
+
## Alternatives
|
|
22
|
+
|
|
23
|
+
<!-- A clear and concise description of any alternative solutions or features you've considered, if any. -->
|
|
24
|
+
|
|
25
|
+
## Additional context
|
|
26
|
+
|
|
27
|
+
<!-- Add any other context or screenshots about the feature request here. -->
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# References and relevant issues
|
|
2
|
+
<!-- What relevant resources were used in the creation of this PR?
|
|
3
|
+
If this PR addresses an existing issue on the repo,
|
|
4
|
+
please link to that issue here as "Closes #(issue-number)"
|
|
5
|
+
If this PR depends on another PR/issue (even in another repo),
|
|
6
|
+
please link to it with "Depends on #PR-number" or "Depends on org/repo#PR-number"
|
|
7
|
+
-->
|
|
8
|
+
|
|
9
|
+
# Description
|
|
10
|
+
<!-- What does this pull request (PR) do? Is it a new feature, a bug fix,
|
|
11
|
+
an improvement, or something else? Why is it necessary? If relevant, please add
|
|
12
|
+
a screenshot or a screen capture: "An image is worth a thousand words!" -->
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# Dependabot configuration
|
|
2
|
+
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates#enabling-github-dependabot-version-updates
|
|
3
|
+
# https://til.simonwillison.net/github/dependabot-python-setup
|
|
4
|
+
|
|
5
|
+
version: 2
|
|
6
|
+
updates:
|
|
7
|
+
# Monitor pip dependencies
|
|
8
|
+
- package-ecosystem: pip
|
|
9
|
+
directory: "/"
|
|
10
|
+
schedule:
|
|
11
|
+
interval: monthly
|
|
12
|
+
groups:
|
|
13
|
+
python-packages:
|
|
14
|
+
patterns:
|
|
15
|
+
- "*"
|
|
16
|
+
ignore:
|
|
17
|
+
# 7.x hangs the napari notebook's kernel on Windows (Python 3.13+)
|
|
18
|
+
- dependency-name: "ipykernel"
|
|
19
|
+
versions: [">=7"]
|
|
20
|
+
|
|
21
|
+
# Monitor GitHub Actions and propose updates for security and maintenance
|
|
22
|
+
- package-ecosystem: github-actions
|
|
23
|
+
directory: "/"
|
|
24
|
+
schedule:
|
|
25
|
+
interval: monthly
|
|
26
|
+
groups:
|
|
27
|
+
github-actions:
|
|
28
|
+
patterns:
|
|
29
|
+
- "*"
|
|
30
|
+
ignore:
|
|
31
|
+
# @v2 is a floating tag that already tracks the latest 2.x release
|
|
32
|
+
- dependency-name: "hynek/build-and-inspect-python-package"
|
|
33
|
+
update-types: ["version-update:semver-minor", "version-update:semver-patch"]
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
# Tests, builds and inspects the package, deploys the docs, and publishes v* tags to PyPI.
|
|
2
|
+
name: tests
|
|
3
|
+
|
|
4
|
+
on:
|
|
5
|
+
push:
|
|
6
|
+
branches:
|
|
7
|
+
- main
|
|
8
|
+
- npe2
|
|
9
|
+
tags:
|
|
10
|
+
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
|
|
11
|
+
pull_request:
|
|
12
|
+
branches:
|
|
13
|
+
- main
|
|
14
|
+
- npe2
|
|
15
|
+
workflow_dispatch:
|
|
16
|
+
|
|
17
|
+
concurrency:
|
|
18
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
19
|
+
cancel-in-progress: true
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
test:
|
|
23
|
+
name: ${{ matrix.platform }} py${{ matrix.python-version }}
|
|
24
|
+
runs-on: ${{ matrix.platform }}
|
|
25
|
+
timeout-minutes: 30
|
|
26
|
+
strategy:
|
|
27
|
+
fail-fast: false
|
|
28
|
+
matrix:
|
|
29
|
+
platform: [ubuntu-latest, windows-latest, macos-latest]
|
|
30
|
+
python-version: ["3.12", "3.13", "3.14"]
|
|
31
|
+
|
|
32
|
+
steps:
|
|
33
|
+
- uses: actions/checkout@v7
|
|
34
|
+
with:
|
|
35
|
+
fetch-depth: 0
|
|
36
|
+
|
|
37
|
+
- name: Setup python
|
|
38
|
+
uses: astral-sh/setup-uv@v7
|
|
39
|
+
with:
|
|
40
|
+
python-version: ${{ matrix.python-version }}
|
|
41
|
+
activate-environment: "true"
|
|
42
|
+
- name: Install Windows OpenGL
|
|
43
|
+
uses: pyvista/setup-headless-display-action@v5.2
|
|
44
|
+
with:
|
|
45
|
+
qt: true
|
|
46
|
+
wm: herbstluftwm
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# note: if you need dependencies from conda, considering using
|
|
50
|
+
# setup-miniconda: https://github.com/conda-incubator/setup-miniconda
|
|
51
|
+
# and
|
|
52
|
+
# tox-conda: https://github.com/tox-dev/tox-conda
|
|
53
|
+
# this runs the platform-specific tests declared in tox.ini
|
|
54
|
+
- name: Test with tox
|
|
55
|
+
run: uvx --with tox-gh-actions tox
|
|
56
|
+
env:
|
|
57
|
+
PLATFORM: ${{ matrix.platform }}
|
|
58
|
+
|
|
59
|
+
- name: Coverage
|
|
60
|
+
uses: codecov/codecov-action@v7
|
|
61
|
+
with:
|
|
62
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
|
63
|
+
|
|
64
|
+
docs:
|
|
65
|
+
name: Build docs
|
|
66
|
+
runs-on: ubuntu-latest
|
|
67
|
+
permissions:
|
|
68
|
+
contents: write
|
|
69
|
+
|
|
70
|
+
steps:
|
|
71
|
+
- uses: actions/checkout@v7
|
|
72
|
+
with:
|
|
73
|
+
fetch-depth: 0
|
|
74
|
+
- name: Setup python
|
|
75
|
+
uses: astral-sh/setup-uv@v7
|
|
76
|
+
with:
|
|
77
|
+
python-version: "3.13"
|
|
78
|
+
activate-environment: "true"
|
|
79
|
+
- name: Install docs requirements
|
|
80
|
+
run: uv pip install -r docs/requirements.txt
|
|
81
|
+
# --strict turns a broken nav entry, a dead internal link or an unresolved
|
|
82
|
+
# mkdocstrings reference into a failure, so the docs cannot drift silently
|
|
83
|
+
- name: Build with mkdocs
|
|
84
|
+
run: mkdocs build --strict
|
|
85
|
+
# GitHub Pages serves the gh-pages branch; deploying from main keeps the site in step with doc fixes
|
|
86
|
+
- name: Deploy to GitHub Pages
|
|
87
|
+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
|
|
88
|
+
run: |
|
|
89
|
+
git config user.name "github-actions[bot]"
|
|
90
|
+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
91
|
+
mkdocs gh-deploy --strict --force
|
|
92
|
+
|
|
93
|
+
build-and-inspect-package:
|
|
94
|
+
name: Build & inspect package.
|
|
95
|
+
runs-on: ubuntu-latest
|
|
96
|
+
|
|
97
|
+
steps:
|
|
98
|
+
- uses: actions/checkout@v7
|
|
99
|
+
with:
|
|
100
|
+
fetch-depth: 0
|
|
101
|
+
- uses: hynek/build-and-inspect-python-package@v2
|
|
102
|
+
|
|
103
|
+
deploy:
|
|
104
|
+
name: Publish to PyPI
|
|
105
|
+
needs: [test, build-and-inspect-package]
|
|
106
|
+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
|
|
107
|
+
runs-on: ubuntu-latest
|
|
108
|
+
# trusted publishing: PyPI accepts this workflow's OIDC token instead of an API token
|
|
109
|
+
permissions:
|
|
110
|
+
id-token: write
|
|
111
|
+
|
|
112
|
+
steps:
|
|
113
|
+
- uses: actions/download-artifact@v4
|
|
114
|
+
with:
|
|
115
|
+
name: Packages
|
|
116
|
+
path: dist
|
|
117
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
env/
|
|
12
|
+
build/
|
|
13
|
+
develop-eggs/
|
|
14
|
+
dist/
|
|
15
|
+
downloads/
|
|
16
|
+
eggs/
|
|
17
|
+
.eggs/
|
|
18
|
+
lib/
|
|
19
|
+
lib64/
|
|
20
|
+
parts/
|
|
21
|
+
sdist/
|
|
22
|
+
var/
|
|
23
|
+
*.egg-info/
|
|
24
|
+
.installed.cfg
|
|
25
|
+
*.egg
|
|
26
|
+
|
|
27
|
+
# PyInstaller
|
|
28
|
+
# Usually these files are written by a python script from a template
|
|
29
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
30
|
+
*.manifest
|
|
31
|
+
*.spec
|
|
32
|
+
|
|
33
|
+
# Installer logs
|
|
34
|
+
pip-log.txt
|
|
35
|
+
pip-delete-this-directory.txt
|
|
36
|
+
|
|
37
|
+
# Unit test / coverage reports
|
|
38
|
+
htmlcov/
|
|
39
|
+
.tox/
|
|
40
|
+
.coverage
|
|
41
|
+
.coverage.*
|
|
42
|
+
.cache
|
|
43
|
+
nosetests.xml
|
|
44
|
+
coverage.xml
|
|
45
|
+
*,cover
|
|
46
|
+
.hypothesis/
|
|
47
|
+
.napari_cache
|
|
48
|
+
|
|
49
|
+
# Translations
|
|
50
|
+
*.mo
|
|
51
|
+
*.pot
|
|
52
|
+
|
|
53
|
+
# Django stuff:
|
|
54
|
+
*.log
|
|
55
|
+
local_settings.py
|
|
56
|
+
|
|
57
|
+
# Flask instance folder
|
|
58
|
+
instance/
|
|
59
|
+
|
|
60
|
+
# Sphinx documentation
|
|
61
|
+
docs/_build/
|
|
62
|
+
|
|
63
|
+
# MkDocs documentation
|
|
64
|
+
/site/
|
|
65
|
+
|
|
66
|
+
# PyBuilder
|
|
67
|
+
target/
|
|
68
|
+
|
|
69
|
+
# Pycharm and VSCode
|
|
70
|
+
.idea/
|
|
71
|
+
venv/
|
|
72
|
+
.vscode/
|
|
73
|
+
|
|
74
|
+
# IPython Notebook
|
|
75
|
+
.ipynb_checkpoints
|
|
76
|
+
|
|
77
|
+
# pyenv
|
|
78
|
+
.python-version
|
|
79
|
+
|
|
80
|
+
# OS
|
|
81
|
+
.DS_Store
|
|
82
|
+
|
|
83
|
+
# written by setuptools_scm
|
|
84
|
+
**/_version.py
|
|
85
|
+
|
|
86
|
+
/log
|
|
87
|
+
*/output*
|
|
88
|
+
/output
|
|
89
|
+
# the HPC container and job logs, made in the checkout by xpra-pull.sh / xpra-run.sh
|
|
90
|
+
muvis-align-xpra_latest/
|
|
91
|
+
muvis-align-xpra_latest.building/
|
|
92
|
+
muvis-align-xpra_latest.old/
|
|
93
|
+
muvis-align-*.log
|
|
94
|
+
|
|
95
|
+
# the plugin's project file, written where it runs
|
|
96
|
+
/muvis_align_project*.yml
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<!-- This file is a placeholder for customizing description of your plugin
|
|
2
|
+
on the napari hub if you wish. The readme file will be used by default if
|
|
3
|
+
you wish not to do any customization for the napari hub listing.
|
|
4
|
+
|
|
5
|
+
If you need some help writing a good description, check out our
|
|
6
|
+
[guide](https://github.com/chanzuckerberg/napari-hub/wiki/Writing-the-Perfect-Description-for-your-Plugin)
|
|
7
|
+
-->
|
|
8
|
+
|
|
9
|
+
The developer has not yet provided a napari-hub specific description.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# You may use this file to customize how your plugin page appears
|
|
2
|
+
# on the napari hub: https://www.napari-hub.org/
|
|
3
|
+
# See their wiki for details https://github.com/chanzuckerberg/napari-hub/wiki
|
|
4
|
+
|
|
5
|
+
# Please note that this file should only be used IN ADDITION to entering
|
|
6
|
+
# metadata fields (such as summary, description, authors, and various URLS)
|
|
7
|
+
# in your standard python package metadata (e.g. setup.cfg, setup.py, or
|
|
8
|
+
# pyproject.toml), when you would like those fields to be displayed
|
|
9
|
+
# differently on the hub than in the napari application.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
3
|
+
rev: v6.0.0
|
|
4
|
+
hooks:
|
|
5
|
+
- id: check-docstring-first
|
|
6
|
+
- id: end-of-file-fixer
|
|
7
|
+
- id: trailing-whitespace
|
|
8
|
+
exclude: ^\.napari-hub/.*
|
|
9
|
+
- id: check-yaml # checks for correct yaml syntax for github actions ex.
|
|
10
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
11
|
+
rev: v0.15.1
|
|
12
|
+
hooks:
|
|
13
|
+
- id: ruff
|
|
14
|
+
- repo: https://github.com/psf/black
|
|
15
|
+
rev: 26.1.0
|
|
16
|
+
hooks:
|
|
17
|
+
- id: black
|
|
18
|
+
- repo: https://github.com/tlambert03/napari-plugin-checks
|
|
19
|
+
rev: v0.3.0
|
|
20
|
+
hooks:
|
|
21
|
+
- id: napari-plugin-checks
|
|
22
|
+
# https://mypy.readthedocs.io/en/stable/
|
|
23
|
+
# you may wish to add this as well!
|
|
24
|
+
# - repo: https://github.com/pre-commit/mirrors-mypy
|
|
25
|
+
# rev: v1.9.0
|
|
26
|
+
# hooks:
|
|
27
|
+
# - id: mypy
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# Working conventions for this repo
|
|
2
|
+
|
|
3
|
+
Rules for working on muvis-align itself, distilled from recurring feedback across sessions. Follow these when making changes here.
|
|
4
|
+
|
|
5
|
+
## Comments
|
|
6
|
+
- Code comments: 1-2 lines max, even for non-obvious WHY reasoning. No multi-line rationale blocks.
|
|
7
|
+
- Never narrate what changed, reference the current fix/task, or mention specific callers/sessions in a comment - that belongs in the commit message or chat response, not the code.
|
|
8
|
+
- Comments explain WHY (a hidden constraint, a subtle invariant), never WHAT (identifiers already say that).
|
|
9
|
+
- No performance statistics (timings, sizes, speedups) in comments - those go in the commit message or notes.
|
|
10
|
+
|
|
11
|
+
## Testing
|
|
12
|
+
- For a small/localized fix, run only the targeted test file(s) for the area touched - not the full suite (10+ min).
|
|
13
|
+
- Reserve full-suite runs for larger/riskier changes, or once before pushing a batch of combined fixes.
|
|
14
|
+
- Never assert a registration's accuracy (an expected shift from phase correlation/SIFT, or how close two solvers' fits come): platform numerics and RANSAC vary, so such tests fail at random. Stub the registration result with a known transform and assert the code's handling of it exactly; check input preparation by value; compare two deterministic paths for identical output.
|
|
15
|
+
- Before adding a test, check for an existing one covering the same path - extend or parametrize it rather than adding a near-duplicate.
|
|
16
|
+
- When adding a feature, decide whether a test specifically for it belongs in the main tests or the check should be discarded once it has been verified.
|
|
17
|
+
- Don't create a new permanent test file per change - add tests to the existing file matching the module under test (e.g. `tests/test_utils.py` for `util.py`). Only give a feature its own test file when it's substantial/self-contained enough to warrant one.
|
|
18
|
+
- Test on the least data that exercises the change: a fusion rule needs a few sources at their metadata positions, not a registered project; repo `data/` or a subset glob before any full project.
|
|
19
|
+
- Plan one combined check per change instead of a run per question: decide up front what it must show (output, sizes, times), and reuse results rather than rerunning. Run a full project (e.g. meatballs) at most once, when a whole-run number (size, time) is the point.
|
|
20
|
+
- Keep written output small: no full-size fusions/exports unless their size or speed is what's measured, in the scratchpad, deleted once read.
|
|
21
|
+
|
|
22
|
+
## Procedures
|
|
23
|
+
- Longer task-specific how-tos are project skills in `.claude/skills/` (e.g. `napari-ui-capture`: drive the plugin from a script and screenshot it). Read the matching `SKILL.md` when the task calls for it.
|
|
24
|
+
- `skills/muvis-align/` is the skill for people *using* muvis-align (pipeline YAML, Python API). Keep it in step with user-facing changes; it is not a guide for working on this repo.
|
|
25
|
+
|
|
26
|
+
## Code style
|
|
27
|
+
- Avoid `continue` statements - restructure the loop body (e.g. invert the condition) instead.
|
|
28
|
+
- No single-letter variable names, comprehension variables included: `field for field in fields`, not `f for f in fields`.
|
|
29
|
+
- Reuse and extend existing functionality instead of writing a new module that parallels it (as `lazy_overview.py` and `fusion_blocks.py` did).
|
|
30
|
+
- No atomic one-line wrapper functions; keep code intuitive over clever.
|
|
31
|
+
- Weigh an optimisation against the code it adds: a ~15% gain rarely justifies a new class or module. Threaded/pooled efficiency code should take an argument to run without threading.
|
|
32
|
+
- For a restructure, write a detailed plan first and agree it before editing.
|
|
33
|
+
|
|
34
|
+
## Carrying work across sessions
|
|
35
|
+
- Record the current task, its plan and how far it got under "In progress" in `notes/todo_known_issues.md` before editing code, and keep it updated. Clear it once the task is done.
|
|
36
|
+
- On "continue" with no other context, read that section first and resume from it.
|
|
37
|
+
|
|
38
|
+
## Git
|
|
39
|
+
- Small, focused commits with a "why" in the message, not a changelog of "what".
|
|
40
|
+
- Work on `main` by default; create a branch only for major restructures or features.
|
|
41
|
+
- Never create git worktrees (no `EnterWorktree`, no `isolation: "worktree"` agents, no `git worktree add`).
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@AGENTS.md
|