Skip to content

Commit

Permalink
Style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
JBWilkie committed Sep 26, 2024
1 parent 72bf92a commit 0b91a82
Show file tree
Hide file tree
Showing 28 changed files with 3,233 additions and 265 deletions.
33 changes: 0 additions & 33 deletions e2e_tests/cli/test_convert.py

This file was deleted.

390 changes: 185 additions & 205 deletions e2e_tests/cli/test_import.py

Large diffs are not rendered by default.

22 changes: 0 additions & 22 deletions e2e_tests/cli/test_pull.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
{
"version": "2.0",
"schema_ref": "https://darwin-public.s3.eu-west-1.amazonaws.com/darwin_json/2.0/schema.json",
"item": {
"name": "image_1",
"path": "/",
"source_info": {
"item_id": "01922dc5-646b-a549-6aa9-ae9f61c95747",
"dataset": {
"name": "test_dataset_854fe60f-7f49-43a7-9419-1b1986d42376",
"slug": "test_dataset_854fe60f-7f49-43a7-9419-1b1986d42376",
"dataset_management_url": "https://staging.v7labs.com/datasets/357048/dataset-management"
},
"team": {
"name": "E2E Testing",
"slug": "e2e-testing"
},
"workview_url": "https://staging.v7labs.com/workview?dataset=357048&item=01922dc5-646b-a549-6aa9-ae9f61c95747"
},
"slots": [
{
"type": "image",
"slot_name": "0",
"width": 1920,
"height": 1080,
"thumbnail_url": "https://staging.v7labs.com/api/v2/teams/e2e-testing/files/469c8a89-0557-42ea-a3a1-04f90d9f6b88/thumbnail",
"source_files": [
{
"file_name": "image_1",
"storage_key": "darwin-py/images/image_1.jpg",
"url": "https://staging.v7labs.com/api/v2/teams/e2e-testing/uploads/144dc80d-6bec-4885-b5cb-a174f18000e2"
}
]
}
]
},
"annotations": [
{
"bounding_box": {
"h": 72.809,
"w": 91.878,
"x": 18.6838,
"y": 135.2167
},
"id": "5976dca9-ead0-4264-8ece-b6833c77dc4b",
"name": "test_polygon_basic",
"polygon": {
"paths": [
[
{
"x": 86.2921,
"y": 135.2167
},
{
"x": 18.6838,
"y": 208.0257
},
{
"x": 110.5618,
"y": 208.0257
},
{
"x": 23.8844,
"y": 135.2167
}
]
]
},
"properties": [],
"slot_names": [
"0"
]
},
{
"id": "2f75f5e6-1495-4fb1-b869-01882710d6ed",
"keypoint": {
"x": 483.2745,
"y": 199.3579
},
"name": "test_keypoint_basic",
"properties": [],
"slot_names": [
"0"
]
},
{
"ellipse": {
"angle": 0.2004,
"center": {
"x": 214.5746,
"y": 259.1653
},
"radius": {
"x": 169.8191,
"y": 169.8191
}
},
"id": "caac6cd7-698a-4821-8141-2f5a78a3022a",
"name": "test_ellipse_basic",
"properties": [],
"slot_names": [
"0"
]
},
{
"bounding_box": {
"h": 38.138,
"w": 67.608,
"x": 36.019,
"y": 50.273
},
"id": "57d49f01-a072-4fcd-80cb-b14515fd50c7",
"name": "test_bounding_box_basic",
"properties": [],
"slot_names": [
"0"
]
}
],
"properties": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
{
"version": "2.0",
"schema_ref": "https://darwin-public.s3.eu-west-1.amazonaws.com/darwin_json/2.0/schema.json",
"item": {
"name": "image_2",
"path": "/",
"source_info": {
"item_id": "01922dc5-646b-f0b7-9d92-ecc504bba55e",
"dataset": {
"name": "test_dataset_854fe60f-7f49-43a7-9419-1b1986d42376",
"slug": "test_dataset_854fe60f-7f49-43a7-9419-1b1986d42376",
"dataset_management_url": "https://staging.v7labs.com/datasets/357048/dataset-management"
},
"team": {
"name": "E2E Testing",
"slug": "e2e-testing"
},
"workview_url": "https://staging.v7labs.com/workview?dataset=357048&item=01922dc5-646b-f0b7-9d92-ecc504bba55e"
},
"slots": [
{
"type": "image",
"slot_name": "0",
"width": 1920,
"height": 1080,
"thumbnail_url": "https://staging.v7labs.com/api/v2/teams/e2e-testing/files/7ac2488d-df4e-42b1-bde2-86cbe22d526c/thumbnail",
"source_files": [
{
"file_name": "image_2",
"storage_key": "darwin-py/images/image_2.jpg",
"url": "https://staging.v7labs.com/api/v2/teams/e2e-testing/uploads/3138e283-a72f-4232-be35-0826fcf2ab01"
}
]
}
]
},
"annotations": [
{
"bounding_box": {
"h": 72.809,
"w": 91.878,
"x": 18.6838,
"y": 135.2167
},
"id": "109f053c-e2fc-444a-b44f-acfdd8e59567",
"name": "test_polygon_basic",
"polygon": {
"paths": [
[
{
"x": 86.2921,
"y": 135.2167
},
{
"x": 18.6838,
"y": 208.0257
},
{
"x": 110.5618,
"y": 208.0257
},
{
"x": 23.8844,
"y": 135.2167
}
]
]
},
"properties": [],
"slot_names": [
"0"
]
},
{
"id": "c9445045-0609-4240-9d1b-9079736490a0",
"keypoint": {
"x": 483.2745,
"y": 199.3579
},
"name": "test_keypoint_basic",
"properties": [],
"slot_names": [
"0"
]
},
{
"ellipse": {
"angle": 0.2004,
"center": {
"x": 214.5746,
"y": 259.1653
},
"radius": {
"x": 169.8191,
"y": 169.8191
}
},
"id": "4efbed69-35d6-495e-ba2e-0537f8d257ee",
"name": "test_ellipse_basic",
"properties": [],
"slot_names": [
"0"
]
},
{
"bounding_box": {
"h": 38.138,
"w": 67.608,
"x": 36.019,
"y": 50.273
},
"id": "3d9a8dc5-e3db-4572-9141-d3d99a713789",
"name": "test_bounding_box_basic",
"properties": [],
"slot_names": [
"0"
]
}
],
"properties": []
}
Loading

0 comments on commit 0b91a82

Please sign in to comment.