|
9 | 9 | SPOT_0_GS_URL = "gs://platform-api-application-test-data/heta/slides/8fafc17d-a5cc-4e9d-a982-030b1486ca88.tiff" |
10 | 10 | SPOT_0_FILENAME = "8fafc17d-a5cc-4e9d-a982-030b1486ca88.tiff" |
11 | 11 | SPOT_0_FILESIZE = 10562338 |
12 | | -SPOT_0_EXPECTED_RESULT_FILES = [ |
13 | | - ("tissue_qc_segmentation_map_image.tiff", 1540764, 10), |
14 | | - ("tissue_qc_geojson_polygons.json", 160668, 10), |
15 | | - ("tissue_segmentation_geojson_polygons.json", 853784, 10), |
16 | | - ("readout_generation_slide_readouts.csv", 302252, 10), |
17 | | - ("readout_generation_cell_readouts.csv", 1472661, 10), |
18 | | - ("cell_classification_geojson_polygons.json", 9939791, 10), |
19 | | - ("tissue_segmentation_segmentation_map_image.tiff", 2807584, 10), |
20 | | - ("tissue_segmentation_csv_class_information.csv", 451, 10), |
21 | | - ("tissue_qc_csv_class_information.csv", 284, 10), |
22 | | -] |
23 | | - |
24 | | -SPOT_0_EXPECTED_CELLS_CLASSIFIED = (35160, 10) |
25 | 12 | SPOT_0_CRC32C = "5onqtA==" |
26 | 13 | SPOT_0_RESOLUTION_MPP = 0.26268186053789266 |
27 | 14 | SPOT_0_WIDTH = 7447 |
|
30 | 17 | SPOT_1_GS_URL = "gs://aignx-storage-service-dev/sample_data_formatted/9375e3ed-28d2-4cf3-9fb9-8df9d11a6627.tiff" |
31 | 18 | SPOT_1_FILENAME = "9375e3ed-28d2-4cf3-9fb9-8df9d11a6627.tiff" |
32 | 19 | SPOT_1_FILESIZE = 14681750 |
33 | | -SPOT_1_EXPECTED_RESULT_FILES = [ |
34 | | - ("tissue_qc_segmentation_map_image.tiff", 464908, 10), |
35 | | - ("tissue_qc_geojson_polygons.json", 180522, 10), |
36 | | - ("tissue_segmentation_geojson_polygons.json", 270931, 10), |
37 | | - ("readout_generation_slide_readouts.csv", 295268, 10), |
38 | | - ("readout_generation_cell_readouts.csv", 2228907, 10), |
39 | | - ("cell_classification_geojson_polygons.json", 16054058, 10), |
40 | | - ("tissue_segmentation_segmentation_map_image.tiff", 581258, 10), |
41 | | - ("tissue_segmentation_csv_class_information.csv", 342, 10), |
42 | | - ("tissue_qc_csv_class_information.csv", 232, 10), |
43 | | -] |
44 | 20 | SPOT_1_CRC32C = "9l3NNQ==" |
45 | 21 | SPOT_1_WIDTH = 3728 |
46 | 22 | SPOT_1_HEIGHT = 3640 |
|
68 | 44 |
|
69 | 45 | HETA_APPLICATION_ID = "he-tme" |
70 | 46 | HETA_APPLICATION_VERSION = "1.0.0-sl.1" |
| 47 | + |
| 48 | + SPOT_0_EXPECTED_RESULT_FILES = [ |
| 49 | + ("tissue_qc_segmentation_map_image.tiff", 1540764, 10), |
| 50 | + ("tissue_qc_geojson_polygons.json", 160668, 10), |
| 51 | + ("tissue_segmentation_geojson_polygons.json", 853784, 10), |
| 52 | + ("readout_generation_slide_readouts.csv", 302252, 10), |
| 53 | + ("readout_generation_cell_readouts.csv", 1472661, 10), |
| 54 | + ("cell_classification_geojson_polygons.json", 9939791, 10), |
| 55 | + ("tissue_segmentation_segmentation_map_image.tiff", 2807584, 10), |
| 56 | + ("tissue_segmentation_csv_class_information.csv", 451, 10), |
| 57 | + ("tissue_qc_csv_class_information.csv", 284, 10), |
| 58 | + ] |
| 59 | + |
| 60 | + SPOT_0_EXPECTED_CELLS_CLASSIFIED = (35160, 10) |
| 61 | + |
| 62 | + SPOT_1_EXPECTED_RESULT_FILES = [ |
| 63 | + ("tissue_qc_segmentation_map_image.tiff", 464908, 10), |
| 64 | + ("tissue_qc_geojson_polygons.json", 180522, 10), |
| 65 | + ("tissue_segmentation_geojson_polygons.json", 270931, 10), |
| 66 | + ("readout_generation_slide_readouts.csv", 295268, 10), |
| 67 | + ("readout_generation_cell_readouts.csv", 2228907, 10), |
| 68 | + ("cell_classification_geojson_polygons.json", 16054058, 10), |
| 69 | + ("tissue_segmentation_segmentation_map_image.tiff", 581258, 10), |
| 70 | + ("tissue_segmentation_csv_class_information.csv", 342, 10), |
| 71 | + ("tissue_qc_csv_class_information.csv", 232, 10), |
| 72 | + ] |
| 73 | + |
71 | 74 | case "staging": |
72 | 75 | TEST_APPLICATION_ID = "test-app" |
73 | 76 | TEST_APPLICATION_VERSION = "0.0.5" |
74 | 77 |
|
75 | 78 | HETA_APPLICATION_ID = "he-tme" |
76 | 79 | HETA_APPLICATION_VERSION = "1.0.0-sl.1" |
| 80 | + |
| 81 | + SPOT_0_EXPECTED_RESULT_FILES = [ |
| 82 | + ("tissue_qc_segmentation_map_image.tiff", 1540764, 10), |
| 83 | + ("tissue_qc_geojson_polygons.json", 160668, 10), |
| 84 | + ("tissue_segmentation_geojson_polygons.json", 853784, 10), |
| 85 | + ("readout_generation_slide_readouts.csv", 302252, 10), |
| 86 | + ("readout_generation_cell_readouts.csv", 1472661, 10), |
| 87 | + ("cell_classification_geojson_polygons.json", 9939791, 10), |
| 88 | + ("tissue_segmentation_segmentation_map_image.tiff", 2807584, 10), |
| 89 | + ("tissue_segmentation_csv_class_information.csv", 451, 10), |
| 90 | + ("tissue_qc_csv_class_information.csv", 284, 10), |
| 91 | + ] |
| 92 | + |
| 93 | + SPOT_0_EXPECTED_CELLS_CLASSIFIED = (35160, 10) |
| 94 | + |
| 95 | + SPOT_1_EXPECTED_RESULT_FILES = [ |
| 96 | + ("tissue_qc_segmentation_map_image.tiff", 464908, 10), |
| 97 | + ("tissue_qc_geojson_polygons.json", 180522, 10), |
| 98 | + ("tissue_segmentation_geojson_polygons.json", 270931, 10), |
| 99 | + ("readout_generation_slide_readouts.csv", 295268, 10), |
| 100 | + ("readout_generation_cell_readouts.csv", 2228907, 10), |
| 101 | + ("cell_classification_geojson_polygons.json", 16054058, 10), |
| 102 | + ("tissue_segmentation_segmentation_map_image.tiff", 581258, 10), |
| 103 | + ("tissue_segmentation_csv_class_information.csv", 342, 10), |
| 104 | + ("tissue_qc_csv_class_information.csv", 232, 10), |
| 105 | + ] |
| 106 | + |
77 | 107 | case _: |
78 | 108 | message = f"Unsupported AIGNOSTICS_PLATFORM_ENVIRONMENT value: {os.getenv('AIGNOSTICS_PLATFORM_ENVIRONMENT')}" |
79 | 109 | raise ValueError(message) |
0 commit comments