cellmap-data 2025.5.30.1814__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.
- cellmap_data-2025.5.30.1814/.cruft.json +21 -0
- cellmap_data-2025.5.30.1814/.github_changelog_generator +6 -0
- cellmap_data-2025.5.30.1814/.gitignore +112 -0
- cellmap_data-2025.5.30.1814/.pre-commit-config.yaml +38 -0
- cellmap_data-2025.5.30.1814/CHANGELOG.md +576 -0
- cellmap_data-2025.5.30.1814/LICENSE +26 -0
- cellmap_data-2025.5.30.1814/PKG-INFO +97 -0
- cellmap_data-2025.5.30.1814/README.md +28 -0
- cellmap_data-2025.5.30.1814/pyproject.toml +197 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/__init__.py +26 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/dataloader.py +146 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/dataset.py +763 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/dataset_writer.py +529 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/datasplit.py +481 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/image.py +948 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/multidataset.py +274 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/subdataset.py +58 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/transforms/__init__.py +3 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/transforms/augment/__init__.py +7 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/transforms/augment/binarize.py +30 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/transforms/augment/gaussian_blur.py +75 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/transforms/augment/gaussian_noise.py +31 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/transforms/augment/nan_to_num.py +34 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/transforms/augment/normalize.py +44 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/transforms/augment/random_contrast.py +41 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/transforms/augment/random_gamma.py +56 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/transforms/targets/__init__.py +2 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/transforms/targets/cellpose.py +53 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/transforms/targets/distance.py +129 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/utils/__init__.py +17 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/utils/coordinate.py +219 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/utils/dtype.py +27 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/utils/figs.py +265 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/utils/metadata.py +125 -0
- cellmap_data-2025.5.30.1814/src/cellmap_data/utils/roi.py +527 -0
- cellmap_data-2025.5.30.1814/version.py +4 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"template": "https://github.com/tlambert03/pyrepo-cookiecutter",
|
|
3
|
+
"commit": "a464b9946d054b0769a71daa07a3c1ad9c50ea3e",
|
|
4
|
+
"checkout": null,
|
|
5
|
+
"context": {
|
|
6
|
+
"cookiecutter": {
|
|
7
|
+
"full_name": "Jeff Rhoades",
|
|
8
|
+
"email": "rhoadesj@hhmi.org",
|
|
9
|
+
"github_username": "rhoadesScholar",
|
|
10
|
+
"project_name": "cellmap-data",
|
|
11
|
+
"project_slug": "cellmap_data",
|
|
12
|
+
"project_short_description": "Utility for loading CellMap data for machine learning training, utilizing PyTorch, TensorStore, and PyDantic.",
|
|
13
|
+
"pypi_username": "rhoadesScholar",
|
|
14
|
+
"_copy_without_render": [
|
|
15
|
+
".github/workflows/*"
|
|
16
|
+
],
|
|
17
|
+
"_template": "https://github.com/tlambert03/pyrepo-cookiecutter"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"directory": null
|
|
21
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
user=rhoadesScholar
|
|
2
|
+
project=cellmap-data
|
|
3
|
+
issues=false
|
|
4
|
+
exclude-labels=duplicate,question,invalid,wontfix,hide
|
|
5
|
+
add-sections={"tests":{"prefix":"**Tests & CI:**","labels":["tests"]}, "documentation":{"prefix":"**Documentation:**", "labels":["documentation"]}}
|
|
6
|
+
exclude-tags-regex=.*rc
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
env/
|
|
12
|
+
build/
|
|
13
|
+
develop-eggs/
|
|
14
|
+
dist/
|
|
15
|
+
downloads/
|
|
16
|
+
eggs/
|
|
17
|
+
.eggs/
|
|
18
|
+
lib/
|
|
19
|
+
lib64/
|
|
20
|
+
parts/
|
|
21
|
+
sdist/
|
|
22
|
+
var/
|
|
23
|
+
wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
|
|
28
|
+
# PyInstaller
|
|
29
|
+
# Usually these files are written by a python script from a template
|
|
30
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
31
|
+
*.manifest
|
|
32
|
+
*.spec
|
|
33
|
+
|
|
34
|
+
# Installer logs
|
|
35
|
+
pip-log.txt
|
|
36
|
+
pip-delete-this-directory.txt
|
|
37
|
+
|
|
38
|
+
# Unit test / coverage reports
|
|
39
|
+
htmlcov/
|
|
40
|
+
.tox/
|
|
41
|
+
.coverage
|
|
42
|
+
.coverage.*
|
|
43
|
+
.cache
|
|
44
|
+
nosetests.xml
|
|
45
|
+
coverage.xml
|
|
46
|
+
*.cover
|
|
47
|
+
.hypothesis/
|
|
48
|
+
.pytest_cache/
|
|
49
|
+
|
|
50
|
+
# Translations
|
|
51
|
+
*.mo
|
|
52
|
+
*.pot
|
|
53
|
+
|
|
54
|
+
# Django stuff:
|
|
55
|
+
*.log
|
|
56
|
+
local_settings.py
|
|
57
|
+
|
|
58
|
+
# Flask stuff:
|
|
59
|
+
instance/
|
|
60
|
+
.webassets-cache
|
|
61
|
+
|
|
62
|
+
# Scrapy stuff:
|
|
63
|
+
.scrapy
|
|
64
|
+
|
|
65
|
+
# Sphinx documentation
|
|
66
|
+
docs/_build/
|
|
67
|
+
|
|
68
|
+
# PyBuilder
|
|
69
|
+
target/
|
|
70
|
+
|
|
71
|
+
# Jupyter Notebook
|
|
72
|
+
.ipynb_checkpoints
|
|
73
|
+
|
|
74
|
+
# pyenv
|
|
75
|
+
.python-version
|
|
76
|
+
|
|
77
|
+
# celery beat schedule file
|
|
78
|
+
celerybeat-schedule
|
|
79
|
+
|
|
80
|
+
# SageMath parsed files
|
|
81
|
+
*.sage.py
|
|
82
|
+
|
|
83
|
+
# dotenv
|
|
84
|
+
.env
|
|
85
|
+
|
|
86
|
+
# virtualenv
|
|
87
|
+
.venv
|
|
88
|
+
venv/
|
|
89
|
+
ENV/
|
|
90
|
+
|
|
91
|
+
# Spyder project settings
|
|
92
|
+
.spyderproject
|
|
93
|
+
.spyproject
|
|
94
|
+
|
|
95
|
+
# Rope project settings
|
|
96
|
+
.ropeproject
|
|
97
|
+
|
|
98
|
+
# mkdocs documentation
|
|
99
|
+
/site
|
|
100
|
+
|
|
101
|
+
# mypy
|
|
102
|
+
.mypy_cache/
|
|
103
|
+
|
|
104
|
+
# IDE settings
|
|
105
|
+
.vscode/
|
|
106
|
+
|
|
107
|
+
scratch/
|
|
108
|
+
|
|
109
|
+
# PyPi builds
|
|
110
|
+
dist/
|
|
111
|
+
build/
|
|
112
|
+
clean/
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
ci:
|
|
2
|
+
autoupdate_schedule: monthly
|
|
3
|
+
autofix_commit_msg: "style(pre-commit.ci): auto fixes [...]"
|
|
4
|
+
autoupdate_commit_msg: "ci(pre-commit.ci): autoupdate"
|
|
5
|
+
|
|
6
|
+
default_install_hook_types: [pre-commit, commit-msg]
|
|
7
|
+
|
|
8
|
+
repos:
|
|
9
|
+
# - repo: https://github.com/compilerla/conventional-pre-commit
|
|
10
|
+
# rev: v2.1.1
|
|
11
|
+
# hooks:
|
|
12
|
+
# - id: conventional-pre-commit
|
|
13
|
+
# stages: [commit-msg]
|
|
14
|
+
|
|
15
|
+
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
16
|
+
rev: v0.3.0
|
|
17
|
+
hooks:
|
|
18
|
+
- id: ruff
|
|
19
|
+
args: [--fix]
|
|
20
|
+
|
|
21
|
+
- repo: https://github.com/psf/black
|
|
22
|
+
rev: 24.2.0
|
|
23
|
+
hooks:
|
|
24
|
+
- id: black
|
|
25
|
+
|
|
26
|
+
- repo: https://github.com/abravalheri/validate-pyproject
|
|
27
|
+
rev: v0.16
|
|
28
|
+
hooks:
|
|
29
|
+
- id: validate-pyproject
|
|
30
|
+
|
|
31
|
+
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
32
|
+
rev: v1.8.0
|
|
33
|
+
hooks:
|
|
34
|
+
- id: mypy
|
|
35
|
+
files: "^src/"
|
|
36
|
+
# # you have to add the things you want to type check against here
|
|
37
|
+
# additional_dependencies:
|
|
38
|
+
# - numpy
|