-
Notifications
You must be signed in to change notification settings - Fork 24
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
Connectome Tab #5894
Connectome Tab #5894
Conversation
…avoid indentation
…ds/webknossos into connectome-viewing
…ore, but still display them
…ynapse types and display as Tag next to synapse
…sos into connectome-viewing
…ynamically diff connectome data and add/delete synapse trees accordingly, add reset button
…ve agglomerate skeletons if they are no longer part of the connectome data
…state level to remove filtered synapse trees as well
…sos into connectome-viewing
…ckend sends correct mapping
Yes, good call, that's the only route that should be needed 👍 |
I created the PR scalableminds/webknossos-connect#127 to restore compatibility. That one should be probably merged first. |
Do you mean this |
You are of course right, I just did not realize I did not pull before testing. |
Yeah, I think, it would currently be best if the tab could be enabled/disabled via a feature flag so that we can control it per organization. Otherwise, the tab might cause a lot of irritation, as no one will know how to use it. I think, it should "just work" ™️ to adapt |
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.
Code looks great :) Didn't test, yet, though, since there are some empty checkboxes still.
Hmm, yeah, I think this method would work, but I really dislike that each time another organization is added, (one needs to remember to increase the layout version and) all layout configs become invalidated :/ |
You are totally right. Dynamically adding/removing the tab would be best probably. |
…st to the currentlyRenderedZoomStepAtPosition by waiting until buckets are loaded before checking whether the zoomStep is renderable for a specific position. This is needed to wait for loaded data after an agglomerate file mapping was activated, for example, when activating a mapping through the context menu before loading a precomputed mesh or before loading synapses for an agglomerate
I confirmed that this works now, even if a mapping is activated on-the-fly, with my latest commit :) |
…sos into connectome-viewing
* master: fix docs formatting Remove experimental auto brush feature (#6107) Fix markdown issues in docs (#6105) Unify long-running RPC timeouts (#6103) Disallow deactivating users with active tasks (#6099) Add remote origin headers also in error case (#6098) Linking layers during upload no longer restricted to public datasets (#6097) Fix layer headers layout (#6087) Fix more docs links (#6095) Update datasets.md (#6094) More PR feedback for Docs (#6091) Updates to wK Docs (#5995) Connectome Tab (#5894) Fix duplicating annotations via toggling show archived annotations button and fix downsample modal rendering errors (#6058)
This PR implements the internal work package D.1 Connectome Viewing in webKnossos (see internal communication). Refer to the work package for the full feature set and a mockup.
This PR adds a new "Connectome Tab" and I tried to encapsulate the new functionality fairly well so that most of it is contained in a couple of files. Still, I had to adapt the code in a couple of spots to support some new use cases which I'll describe in the following:
enableRenderOnDemand
prop for layout tabs. Setting the prop to false will disable the lazy-loading of the tab and instead always render it. For the connectome tab, this is important to allow hotlinking to agglomerates/synapses without the tab being visible when loading the annotation. Otherwise, the code encapsulation would not work as well. I don't think this is a problem, though, since the tab doesn't do much if it's not actively being used.lastVisibleSegmentationLayerName
to allow to continue to use the connectome tab even if the segmentation was temporarily disabled. This might be useful in other spots as well.ToDo:
No idea what would be a good way to do that yetShow the segment color next to the entry in the tree (if the agglomerate skeleton is loaded)Wait for feedback, maybe followupURL of deployed dev instance (used for testing):
Steps to test:
l4dense_motta_et_al_dev
dataset that has a linked connectome file on the deployed dev instanceIssues: