-
Notifications
You must be signed in to change notification settings - Fork 1
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
Color by attribute #148
Open
TeunHuijben
wants to merge
30
commits into
main
Choose a base branch
from
color-by-attribute
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Color by attribute #148
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
2c35c08
initial commit with dropdown window and coloring based on position
TeunHuijben 154276a
lint fixes
TeunHuijben 1276f57
interpolate between two opposite colors + added extra test features
TeunHuijben 3a8a6a7
replaced dropdown from mui to czi-sds/components
TeunHuijben 90166f0
changed Button and InputText czi-sds/components elements, because of …
TeunHuijben f5601d4
categorical/continuous colormaps
TeunHuijben 9866c1b
fixed czi-sds/components after new version
TeunHuijben 9bd4b0f
attributes are saved in zarr and loaded when requested in the applica…
TeunHuijben 1b2c730
fixed width of dropdownMenu
TeunHuijben 254545f
Merge branch 'main' into color-by-attribute
TeunHuijben 1c49f2d
Merge branch 'color-by-attribute' of github.com:royerlab/points-web-v…
TeunHuijben 815ca92
fixed mistakes in convert after merge with main
TeunHuijben 7a4c81e
replaced HTTPStore by .attrs.asObject
TeunHuijben 9c492cb
updated conversion test
TeunHuijben f184bd1
reset dropdown after loading new dataset + removed hardcoded number o…
TeunHuijben 601ac5f
unified colormaps, toggle for colorBy, second colormap legend
TeunHuijben 6f4b851
added colorBy colorbar overlay + added flag for pre-normalized attrib…
TeunHuijben 836b585
changed default dataset(s) + color legend only visible when relevant
TeunHuijben 15ae251
changed text on colormap legend overlays
TeunHuijben f9fa997
demo ready PR for SI videos (removed some default attributes)
TeunHuijben 2d5c94f
added conversion tests + conversion detects categorical/continuous
TeunHuijben 76d4dae
trying to fix lint issues
TeunHuijben b70421b
fixed wrong dataset names
TeunHuijben a0f18cc
toggle colorBy to off when new dataset is loaded
TeunHuijben 8835848
Merge branch 'main' into color-by-attribute
TeunHuijben 8252941
colorBy toggle only visible when Zarr Store has attributes
TeunHuijben f555d56
saved colorBy toggle and field in ViewerState, so it is preserved whe…
TeunHuijben 597b5db
config option to show/not show the default dropdown options like x-po…
TeunHuijben 0eb31b4
config option to disable coloring cells (even if attributes are provi…
TeunHuijben 16c4e55
changed example default dataset (includes attributes)
TeunHuijben File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,6 +117,13 @@ intracktive convert --csv_file path/to/tracks.csv --add_radius | |
|
||
Or use `intracktive convert --help` for the documentation on the inputs and outputs | ||
|
||
**ToDo: explain how to add attributes** | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this TODO still need to be done? |
||
``` | ||
intracktive convert --csv_file path/to/tracks.csv --add_all_attributes | ||
intracktive convert --csv_file path/to/file.csv --add_attribute cell_size | ||
intracktive convert --csv_file path/to/file.csv --add_attribute cell_size,time,diameter,color | ||
``` | ||
|
||
|
||
In order for the viewer to access the data, the data must be hosted at a location the browser can access. For testing and visualizing data on your own computer, the easiest way is to host the data via `localhost`. This repository contains a [tool](python/src/intracktive//server.py) to host the data locally: | ||
|
||
|
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
Should this be the following?