Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (76 loc) · 2.2 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (76 loc) · 2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "mindglide"
version = "1.3.0"
description = "Ultrafast segmentation of real-world brain MRI for multiple-sclerosis patients — any sequence, any quality."
readme = "README.md"
requires-python = ">=3.9"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{ name = "MS-PINPOINT team" },
]
keywords = [
"mri",
"brain",
"segmentation",
"multiple-sclerosis",
"neuroimaging",
"deep-learning",
"monai",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
]
dependencies = [
# numpy 1.x has no wheels for Python >= 3.13; MONAI itself allows numpy >=1.24,<3
"numpy >=1.24,<3",
"nibabel == 5.*",
"torch == 2.*",
"tqdm",
"monai == 1.*",
"huggingface_hub",
"scikit-image",
"scipy",
"pandas",
]
[project.optional-dependencies]
test = ["pytest"]
[project.urls]
Homepage = "https://github.com/MS-PINPOINT/mindGlide"
Repository = "https://github.com/MS-PINPOINT/mindGlide"
Issues = "https://github.com/MS-PINPOINT/mindGlide/issues"
Paper = "https://www.nature.com/articles/s41467-025-58274-8"
Models = "https://huggingface.co/MS-PINPOINT/mindglide"
[project.scripts]
mindglide = "mindglide.infer:main"
mindglide-volumes = "mindglide.volumes:main"
[tool.setuptools]
package-dir = {"" = "inference"}
[tool.setuptools.packages.find]
where = ["inference"]
namespaces = false
[tool.pytest.ini_options]
markers = [
"slow: end-to-end tests that download the model and run full inference",
"gpu: tests that require a CUDA GPU",
]
[tool.ruff]
target-version = "py39"
line-length = 110
src = ["inference", "tests"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP"]
[tool.ruff.lint.isort]
known-first-party = ["mindglide"]