-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DAR-2860][External] Import of item-level properties (#936)
* Automatic creation of item-level properties & values + dataset assignment from metadata & imported files * Test coverage for automatic property creation & property value creation * Extended overwrite warning to account for item-level properties * Introducing compatibility with annotation-level properties (WIP) * Making item-level properties import fit with annotation-level * Import of item-level property values * E2E tests for import of item-level properties * Light refactoring of * Style improvements
- Loading branch information
Showing
38 changed files
with
10,565 additions
and
162 deletions.
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
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
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
102 changes: 102 additions & 0 deletions
102
darwin/future/tests/data/.v7/metadata_no_item_level_properties.json
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 |
---|---|---|
@@ -0,0 +1,102 @@ | ||
{ | ||
"classes": [ | ||
{ | ||
"name": "Test bounding box", | ||
"type": "bounding_box", | ||
"description": null, | ||
"color": "rgba(255,145,82,1)", | ||
"sub_types": [ | ||
"inference" | ||
], | ||
"properties": [ | ||
{ | ||
"name": "Property 1", | ||
"type": "multi_select", | ||
"property_values": [ | ||
{ | ||
"type": "string", | ||
"value": "first value", | ||
"color": "rgba(255,92,0,1.0)" | ||
}, | ||
{ | ||
"type": "string", | ||
"value": "second value", | ||
"color": "rgba(0,0,0,1.0)" | ||
} | ||
], | ||
"granularity": "section", | ||
"required": false | ||
}, | ||
{ | ||
"name": "Property 2", | ||
"type": "single_select", | ||
"property_values": [ | ||
{ | ||
"type": "string", | ||
"value": "first value", | ||
"color": "rgba(0,194,255,1.0)" | ||
}, | ||
{ | ||
"type": "string", | ||
"value": "second value", | ||
"color": "rgba(255,255,255,1.0)" | ||
} | ||
], | ||
"granularity": "section", | ||
"required": false | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Test Polygon", | ||
"type": "polygon", | ||
"description": null, | ||
"color": "rgba(219,255,0,1.0)", | ||
"sub_types": [ | ||
"directional_vector", | ||
"attributes", | ||
"text", | ||
"instance_id", | ||
"inference" | ||
], | ||
"properties": [ | ||
{ | ||
"name": "Property 1", | ||
"type": "multi_select", | ||
"property_values": [ | ||
{ | ||
"type": "string", | ||
"value": "first value", | ||
"color": "rgba(255,92,0,1.0)" | ||
}, | ||
{ | ||
"type": "string", | ||
"value": "second value", | ||
"color": "rgba(0,0,0,1.0)" | ||
} | ||
], | ||
"granularity": "section", | ||
"required": false | ||
}, | ||
{ | ||
"name": "Property 2", | ||
"type": "single_select", | ||
"property_values": [ | ||
{ | ||
"type": "string", | ||
"value": "first value", | ||
"color": "rgba(0,194,255,1.0)" | ||
}, | ||
{ | ||
"type": "string", | ||
"value": "second value", | ||
"color": "rgba(255,255,255,1.0)" | ||
} | ||
], | ||
"granularity": "section", | ||
"required": false | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.