-
Notifications
You must be signed in to change notification settings - Fork 2
Aligned Orthogonal Views #103
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
base: main
Are you sure you want to change the base?
Conversation
| res_layer.metadata["viewer_name"] = name | ||
| return res_layer | ||
|
|
||
| # do not let ruff move these import statements! |
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.
Put in a # noqa on these lines so it happens automatically
| copied_layer.mouse_drag_callbacks.append(click_wrapper) | ||
|
|
||
| # Bind keys to original layer TracksViewer | ||
| copied_layer.bind_key("q")(orig_layer.tracks_viewer.toggle_display_mode) |
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.
Can we make these variables on the tracks controller so at least we have them defined in one place (or make an issue for it and we can do it later)
pyproject.toml
Outdated
| "fonticon-fontawesome6", | ||
| "zarr<3", | ||
| "imagecodecs", # for unzipping sample data | ||
| "napari-orthogonal-views @ git+https://github.com/AnniekStok/napari-orthogonal-views.git@main" |
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.
Make a tag/release on your github so we can point to a specific named instead of a moving branch.
cmalinmayor
left a comment
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.
Important changes: depending on a specific tag. testing drawing in 3D in 2D data (and maybe just say no).
Proposed Change
Option to display canvas-aligned orthogonal views. All interactive functionality (painting, selecting nodes, changing tool modes, undo/redo) should sync between the different viewers.
Checklist
Go through these things before merge. Actions should run automatically to test them, but for information on how to run locally, see CONTRIBUTING.md.
Further Comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...