Skip to content

Commit a07144e

Browse files
authored
Merge branch 'main' into test/mock-service-find
2 parents 4fc8666 + 7dfaf52 commit a07144e

3 files changed

Lines changed: 98 additions & 22 deletions

File tree

compass.yml

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: python-sdk
2+
id: ari:cloud:compass:fff788d2-8a2a-4c36-a884-dde2bb4a2b49:component/f65912bc-77bd-4e1f-b333-1a9e8f0ac32c/aca547e5-2577-4f9d-9aaa-cf360acc976c
3+
description: 🔬 Python SDK providing access to the Aignostics Platform. Includes Aignostics Launchpad (Desktop Application), Aignostics CLI (Command-Line Interface), example notebooks, and Aignostics Client Library.
4+
configVersion: 1
5+
typeId: APPLICATION
6+
ownerId: ari:cloud:identity::team/b1cfb598-3138-4c2a-8b6a-19fb1078645b
7+
fields:
8+
tier: 4
9+
links:
10+
- name: null
11+
type: REPOSITORY
12+
url: https://github.com/aignostics/python-sdk
13+
relationships:
14+
DEPENDS_ON: []
15+
labels:
16+
- aignostics
17+
- atlas
18+
- dicom
19+
- digital-pathology
20+
- image-data-commons
21+
- language:python
22+
- machine-learning
23+
- marimo
24+
- medical-imaging
25+
- nicegui
26+
- oe-python-template
27+
- openslide
28+
- pydantic
29+
- pydicom
30+
- qupath
31+
- source:github
32+
- typer
33+
- uv
34+
- whole-slide-imaging
35+
customFields:
36+
- name: CSV Approved
37+
type: boolean
38+
value: false
39+
- name: Component Key
40+
type: text
41+
value: null
42+
- name: Deployment Branch
43+
type: text
44+
value: null
45+
- name: Development Branch
46+
type: text
47+
value: null
48+
- name: FinOps Label
49+
type: text
50+
value: null
51+
- name: Has external API
52+
type: boolean
53+
value: false
54+
- name: Has external CLI
55+
type: boolean
56+
value: false
57+
- name: Has external graphical UI
58+
type: boolean
59+
value: false
60+
- name: Has internal API
61+
type: boolean
62+
value: false
63+
- name: Has internal CLI
64+
type: boolean
65+
value: false
66+
- name: Has internal graphical UI
67+
type: boolean
68+
value: false
69+
- name: Is independently deployable
70+
type: boolean
71+
value: false
72+
- name: Path in Repository
73+
type: text
74+
value: null
75+
- name: Process Level
76+
type: single_select
77+
value: null

tests/aignostics/qupath/gui_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ async def test_gui_run_qupath_install_to_inspect( # noqa: C901, PLR0912, PLR091
302302
# Check for (1) spot added to QuPath project, (2) heatmaps added, (3) spot annotated
303303
try:
304304
project_info = json.loads(output)
305-
annotations_total = 0
306305
spot_found = False
307306
spot_width = None
308307
spot_height = None
@@ -329,7 +328,7 @@ async def test_gui_run_qupath_install_to_inspect( # noqa: C901, PLR0912, PLR091
329328
), (
330329
f"Expected approximately {SPOT_0_EXPECTED_CELLS_CLASSIFIED[0]} "
331330
f"({SPOT_0_EXPECTED_CELLS_CLASSIFIED[1]}% tolerance) annotations in the QuPath results, "
332-
f"but found {annotations_total}"
331+
f"but found {spot_annotations}"
333332
)
334333
except json.JSONDecodeError as e:
335334
pytest.fail(f"Failed to parse QuPath inspect output as JSON: {e}\nOutput: {output!r}\n")

tests/constants_test.py

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
TEST_APPLICATION_VERSION = "0.0.6"
9898

9999
HETA_APPLICATION_ID = "he-tme"
100-
HETA_APPLICATION_VERSION = "1.0.0"
100+
HETA_APPLICATION_VERSION = "1.1.0"
101101
TEST_APPLICATION_VERSION_USE_LATEST_FALLBACK_SKIP = True
102102

103103
PIPELINE_GPU_TYPE = "L4"
@@ -112,28 +112,28 @@
112112
SPECIAL_APPLICATION_VERSION = "0.99.0"
113113

114114
SPOT_0_EXPECTED_RESULT_FILES = [
115-
("tissue_qc_segmentation_map_image.tiff", 1540764, 10),
116-
("tissue_qc_geojson_polygons.json", 160668, 10),
117-
("tissue_segmentation_geojson_polygons.json", 853784, 10),
118-
("readout_generation_slide_readouts.csv", 302252, 10),
119-
("readout_generation_cell_readouts.csv", 1472661, 10),
120-
("cell_classification_geojson_polygons.json", 9939791, 10),
121-
("tissue_segmentation_segmentation_map_image.tiff", 2807584, 10),
122-
("tissue_segmentation_csv_class_information.csv", 451, 10),
123-
("tissue_qc_csv_class_information.csv", 284, 10),
115+
("tissue_qc_segmentation_map_image.tiff", 1642856, 10),
116+
("tissue_qc_geojson_polygons.json", 259955, 10),
117+
("tissue_segmentation_geojson_polygons.json", 887003, 10),
118+
("readout_generation_slide_readouts.csv", 303217, 10),
119+
("readout_generation_cell_readouts.csv", 1658344, 10),
120+
("cell_classification_geojson_polygons.json", 11218951, 10),
121+
("tissue_segmentation_segmentation_map_image.tiff", 2945078, 10),
122+
("tissue_segmentation_csv_class_information.csv", 452, 10),
123+
("tissue_qc_csv_class_information.csv", 285, 10),
124124
]
125-
SPOT_0_EXPECTED_CELLS_CLASSIFIED = (35160, 10)
125+
SPOT_0_EXPECTED_CELLS_CLASSIFIED = (39798, 10)
126126

127127
SPOT_1_EXPECTED_RESULT_FILES = [
128-
("tissue_qc_segmentation_map_image.tiff", 440122, 10),
129-
("tissue_qc_geojson_polygons.json", 139943, 10),
130-
("tissue_segmentation_geojson_polygons.json", 175419, 10),
131-
("readout_generation_slide_readouts.csv", 300408, 10),
132-
("readout_generation_cell_readouts.csv", 2384271, 10),
133-
("cell_classification_geojson_polygons.json", 16384866, 10),
134-
("tissue_segmentation_segmentation_map_image.tiff", 508552, 10),
135-
("tissue_segmentation_csv_class_information.csv", 443, 10),
136-
("tissue_qc_csv_class_information.csv", 284, 10),
128+
("tissue_qc_segmentation_map_image.tiff", 469040, 10),
129+
("tissue_qc_geojson_polygons.json", 177779, 10),
130+
("tissue_segmentation_geojson_polygons.json", 205951, 10),
131+
("readout_generation_slide_readouts.csv", 299654, 10),
132+
("readout_generation_cell_readouts.csv", 2387860, 10),
133+
("cell_classification_geojson_polygons.json", 16687724, 10),
134+
("tissue_segmentation_segmentation_map_image.tiff", 536582, 10),
135+
("tissue_segmentation_csv_class_information.csv", 441, 10),
136+
("tissue_qc_csv_class_information.csv", 286, 10),
137137
]
138138

139139
case _:

0 commit comments

Comments
 (0)