-
Notifications
You must be signed in to change notification settings - Fork 11
[Validate] Add Metadata and Attribute filters to Metrics #269
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
Merged
Merged
Changes from 18 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
e55e7cc
3D Cuboid Metrics
Anirudh-Scale 5185c88
CuboidMetrics can filter metadata
gatli 8fcf1f7
Add Cuboid configs
gatli 2b91b50
Fix mypy errors
gatli 80e9628
Add field filters
gatli 6e3c61a
Add tests for filtering functions and move them to seperate module
gatli 7f58390
Add in and not in statements
gatli 19254f1
Add filtering to all metrics
gatli 7f5e5e5
Add parameters to config interface
gatli d9a552f
Fixing some typing documentation
gatli b074461
Rollback segmentation metadata changes
gatli 265fb2b
Squashed commit of the following:
gatli 4f5d4ef
Don't skip all metrics tests if shapely is missing
gatli a675627
Import shapely in Cuboid utils only and only raise ModuleNotFound on
gatli 3cf6aa6
Fix optional install in circleci
gatli fe468de
Update lock
gatli fb61fa9
Bump version to 0.8.4 and add entry to changelog
gatli 2d03b73
Fix short-circuit of filters
gatli 7199af1
Update CHANGELOG.md according to @pfmark suggestion
gatli c0d7c78
Clean up optional install instructions
gatli 07909ea
Merge remote-tracking branch 'origin/master' into gunnar-metadata-and…
gatli 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 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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -179,3 +179,22 @@ cd docs | |
| sphinx-autobuild . ./_build/html --watch ../nucleus | ||
| ``` | ||
| `sphinx-autobuild` will spin up a server on localhost (port 8000 by default) that will watch for and automatically rebuild a version of the API reference based on your local docstring changes. | ||
|
|
||
|
|
||
| ## Custom Metrics used in Scale Validate | ||
|
|
||
| To install the availalbe metrics for Scale Validate add the optional `metrics` extra. | ||
| Note that you might need to install a local GEOS package. | ||
|
|
||
| ```bash | ||
| #Mac OS | ||
| brew install geos | ||
| # Ubuntu/Debian flavors | ||
| apt-get install libgeos-dev | ||
| ``` | ||
|
|
||
| `pip install scale-nucleus[metrics]` | ||
|
||
|
|
||
| To develop it locally use | ||
|
|
||
| `poetry install --extra metrics` | ||
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.