-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (104 loc) · 3.42 KB
/
pyproject.toml
File metadata and controls
116 lines (104 loc) · 3.42 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[tool.poetry]
name = "drevalpy"
version = "1.5.0"
description = "Drug response evaluation of cancer cell line drug response models in a fair setting"
authors = ["DrEvalPy development team"]
license = "GPL-3.0"
readme = "README.md"
[tool.poetry.scripts]
drevalpy = "drevalpy.cli:cli_main"
drevalpy-report = "drevalpy.visualization.create_report:main"
drevalpy-viability-preprocess = "drevalpy.cli_preprocess_custom:preprocess_raw_viability"
drevalpy-viability-postprocess = "drevalpy.cli_preprocess_custom:postprocess_viability"
drevalpy-load-response = "drevalpy.cli_run_cv:load_response"
drevalpy-make-cv-pkls = "drevalpy.cli_run_cv:cv_split"
drevalpy-make-hpam-yamls = "drevalpy.cli_run_cv:hpam_split"
drevalpy-train-cv = "drevalpy.cli_run_cv:train_and_predict_cv"
drevalpy-evaluate-hpams = "drevalpy.cli_run_cv:evaluate_and_find_max"
drevalpy-test-cv = "drevalpy.cli_model_testing:train_and_predict_final"
drevalpy-make-randomization-yamls = "drevalpy.cli_model_testing:randomization_split"
drevalpy-make-final-split-pkls = "drevalpy.cli_model_testing:final_split"
drevalpy-tune-final-model = "drevalpy.cli_model_testing:tune_final_model"
drevalpy-train-final-model = "drevalpy.cli_model_testing:train_final_model"
drevalpy-consolidate-single-drug = "drevalpy.cli_model_testing:consolidate_results"
drevalpy-evaluate-test = "drevalpy.cli_model_testing:evaluate_test_results"
drevalpy-collect-results = "drevalpy.cli_model_testing:collect_results"
drevalpy-make-pipeline-report = "drevalpy.visualization.create_report:pipeline_report"
[tool.poetry.dependencies]
python = ">=3.11,<3.14"
numpy = ">=1.20"
scipy = "*"
scikit-learn = ">=1.4"
pandas = "*"
networkx = "*"
pyyaml = "*"
pytorch-lightning = ">=2.5"
torch = ">=2.1"
torch-geometric = "*"
flaky = "*"
requests = "*"
plotly = "*"
matplotlib = "*"
importlib-resources = "*"
scikit-posthocs = "*"
curve-curator = "*"
subword-nmt = ">=0.3.8"
toml = {version = ">=0.10.2"}
poetry = ">=2.0.1"
starlette = ">=0.49.1"
pydantic = { version = ">=2.5", optional = true }
wandb = ">=0.24.0"
[tool.poetry.requires-plugins]
poetry-plugin-export = ">=1.8"
[tool.poetry.extras]
multiprocessing = ["ray", "pydantic"]
[tool.poetry.dependencies.ray]
extras = ["tune"]
version = "*"
[tool.poetry.group.development.dependencies]
sphinx-autodoc-typehints = "*"
sphinx = ">=4.0.2"
sphinx-autobuild = ">=2021.3.14"
sphinx-rtd-theme = ">=1.0.0,<3.0.3"
sphinx-click = ">=3.0.0"
pytest = "*"
nox = "*"
nox-poetry = "*"
black = "*"
isort = "*"
flake8 = "*"
flake8-bandit = "*"
flake8-bugbear = "*"
flake8-docstrings = "*"
flake8-rst-docstrings = "*"
darglint = "*"
pre-commit = "*"
pre-commit-hooks = "*"
pyupgrade = "*"
pep8-naming = "*"
[tool.poetry.group.torch-cuda]
optional = true
dependencies = { torch = ">=2.1", torch-geometric = "*" }
[tool.poetry.group.dev.dependencies]
mypy = "^1.19.1"
ruff = "^0.15.8"
[tool.black]
line-length = 120
[tool.mypy]
strict = false
pretty = true
show_column_numbers = true
show_error_codes = true
show_error_context = true
ignore_missing_imports = true
[tool.isort]
multi_line_output=3
include_trailing_comma=true
balanced_wrapping=true
line_length=120
profile = "black"
known_first_party = ["drevalpy"]
known_third_party = ["wandb"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"