dsa-helpers 0.8__tar.gz → 0.8.dev1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dsa_helpers-0.8/dsa_helpers.egg-info → dsa_helpers-0.8.dev1}/PKG-INFO +1 -4
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/README.md +0 -3
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/tiling/semantic_seg_tile_wsi_with_dsa_annotations.py +5 -6
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1/dsa_helpers.egg-info}/PKG-INFO +1 -4
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/pyproject.toml +1 -1
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/.gitignore +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/LICENSE +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/app.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/__init__.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/dash/__init__.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/dash/dash_paperdragon_utils.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/dash/header.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/dash/header_callbacks.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/girder_utils.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/image_utils.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/imread.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/imwrite.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/__init__.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/datasets/SegFormerSegmentationDataset.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/datasets/__init__.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/datasets/utils.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/metrics/__init__.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/metrics/binary_dice_coefficient_metric.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/object_detection/__init__.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/object_detection/get_pearce_roi_images.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/object_detection/tile_image.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/object_detection/utils.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/segformer_semantic_segmentation/__init__.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/segformer_semantic_segmentation/inference.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/tiling/__init__.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/transforms/__init__.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/transforms/segformer_transforms.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/mongo_utils.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/utils.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers.egg-info/SOURCES.txt +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers.egg-info/dependency_links.txt +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers.egg-info/requires.txt +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers.egg-info/top_level.txt +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/requirements.txt +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/setup.cfg +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/tests/app/Dockerfile +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/tests/app/app.py +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/tests/docker-compose.yaml +0 -0
- {dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/tests/test.ipynb +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dsa_helpers
|
|
3
|
-
Version: 0.8
|
|
3
|
+
Version: 0.8.dev1
|
|
4
4
|
Summary: Utility functions for working with the DSA girder client.
|
|
5
5
|
Author-email: "Juan C. Vizcarra" <jvizcar@emory.edu>
|
|
6
6
|
Maintainer-email: "Juan C. Vizcarra" <jvizcar@emory.edu>
|
|
@@ -37,9 +37,6 @@ This library was tested using Python version 3.11.8 and uses the dependencies de
|
|
|
37
37
|
|
|
38
38
|
This Python PyPI package is found [here](https://pypi.org/project/dsa-helpers/).
|
|
39
39
|
|
|
40
|
-
## Extra dependencies
|
|
41
|
-
If you are getting a large image error, then install large image using the instructions provided in their [GitHub page](https://github.com/girder/large_image#:~:text=pip%20install%20large%2Dimage%5Ball%5D%20%2D%2Dfind%2Dlinks%20https%3A//girder.github.io/large_image_wheels).
|
|
42
|
-
|
|
43
40
|
## Instructions for Development
|
|
44
41
|
1. Install requirements for building and distributing package:
|
|
45
42
|
```
|
|
@@ -7,9 +7,6 @@ This library was tested using Python version 3.11.8 and uses the dependencies de
|
|
|
7
7
|
|
|
8
8
|
This Python PyPI package is found [here](https://pypi.org/project/dsa-helpers/).
|
|
9
9
|
|
|
10
|
-
## Extra dependencies
|
|
11
|
-
If you are getting a large image error, then install large image using the instructions provided in their [GitHub page](https://github.com/girder/large_image#:~:text=pip%20install%20large%2Dimage%5Ball%5D%20%2D%2Dfind%2Dlinks%20https%3A//girder.github.io/large_image_wheels).
|
|
12
|
-
|
|
13
10
|
## Instructions for Development
|
|
14
11
|
1. Install requirements for building and distributing package:
|
|
15
12
|
```
|
|
@@ -82,7 +82,7 @@ def _process_tile(
|
|
|
82
82
|
imwrite(img_fp, tile_img)
|
|
83
83
|
imwrite(mask_dir / fn, tile_mask, grayscale=True)
|
|
84
84
|
|
|
85
|
-
return str(img_fp)
|
|
85
|
+
return str(img_fp)
|
|
86
86
|
|
|
87
87
|
|
|
88
88
|
def semantic_seg_tile_wsi_with_dsa_annotations(
|
|
@@ -112,8 +112,7 @@ def semantic_seg_tile_wsi_with_dsa_annotations(
|
|
|
112
112
|
nproc (int, optional): number of processes to use for tiling.
|
|
113
113
|
|
|
114
114
|
Returns:
|
|
115
|
-
list[str]:
|
|
116
|
-
of tile).
|
|
115
|
+
list[str]: list of file paths to the created tile images.
|
|
117
116
|
|
|
118
117
|
"""
|
|
119
118
|
# Format annotation documents for drawing on tile masks.
|
|
@@ -217,9 +216,9 @@ def semantic_seg_tile_wsi_with_dsa_annotations(
|
|
|
217
216
|
for xy in xys
|
|
218
217
|
]
|
|
219
218
|
|
|
220
|
-
|
|
219
|
+
fps = []
|
|
221
220
|
|
|
222
221
|
for job in tqdm(jobs, desc="Tiling..."):
|
|
223
|
-
|
|
222
|
+
fps.append(job.get())
|
|
224
223
|
|
|
225
|
-
return
|
|
224
|
+
return fps
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dsa_helpers
|
|
3
|
-
Version: 0.8
|
|
3
|
+
Version: 0.8.dev1
|
|
4
4
|
Summary: Utility functions for working with the DSA girder client.
|
|
5
5
|
Author-email: "Juan C. Vizcarra" <jvizcar@emory.edu>
|
|
6
6
|
Maintainer-email: "Juan C. Vizcarra" <jvizcar@emory.edu>
|
|
@@ -37,9 +37,6 @@ This library was tested using Python version 3.11.8 and uses the dependencies de
|
|
|
37
37
|
|
|
38
38
|
This Python PyPI package is found [here](https://pypi.org/project/dsa-helpers/).
|
|
39
39
|
|
|
40
|
-
## Extra dependencies
|
|
41
|
-
If you are getting a large image error, then install large image using the instructions provided in their [GitHub page](https://github.com/girder/large_image#:~:text=pip%20install%20large%2Dimage%5Ball%5D%20%2D%2Dfind%2Dlinks%20https%3A//girder.github.io/large_image_wheels).
|
|
42
|
-
|
|
43
40
|
## Instructions for Development
|
|
44
41
|
1. Install requirements for building and distributing package:
|
|
45
42
|
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/datasets/SegFormerSegmentationDataset.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/metrics/binary_dice_coefficient_metric.py
RENAMED
|
File without changes
|
|
File without changes
|
{dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/object_detection/get_pearce_roi_images.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/segformer_semantic_segmentation/__init__.py
RENAMED
|
File without changes
|
{dsa_helpers-0.8 → dsa_helpers-0.8.dev1}/dsa_helpers/ml/segformer_semantic_segmentation/inference.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|