Skip to content

Commit d941da5

Browse files
Merge pull request #113 from daisybio/development
New versions, new Dockerimage
2 parents 76d1e9c + c57c00e commit d941da5

File tree

9 files changed

+167
-1820
lines changed

9 files changed

+167
-1820
lines changed

.github/workflows/publish-docker.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Create and publish a Docker image
22

33
# Configures this workflow to run every time a release is published
44
on:
5-
push:
6-
branches:
7-
- main
85
release:
96
types: [published]
107

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Build package
3333
run: python -m build
3434
- name: Publish package
35-
uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70
35+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
3636
with:
3737
user: __token__
3838
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/run_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,6 @@ jobs:
129129
run: nox --force-color --session=coverage -- xml -i
130130

131131
- name: Upload coverage report
132-
uses: codecov/codecov-action@v5.1.1
132+
uses: codecov/codecov-action@v5.3.1
133133
with:
134134
token: ${{ secrets.CODECOV_TOKEN }}

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
# the built documents.
5757
#
5858
# The short X.Y version.
59-
version = "1.1.1"
59+
version = "1.1.2"
6060
# The full version, including alpha/beta/rc tags.
61-
release = "1.1.1"
61+
release = "1.1.2"
6262

6363
# The language for content autogenerated by Sphinx. Refer to documentation
6464
# for a list of supported languages.

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
sphinx-autobuild==2024.10.3 ; python_version >= "3.11" and python_version < "3.13"
2-
sphinx-autodoc-typehints==2.5.0 ; python_version >= "3.11" and python_version < "3.13"
2+
sphinx-autodoc-typehints==3.0.1 ; python_version >= "3.11" and python_version < "3.13"
33
sphinx-click==6.0.0 ; python_version >= "3.11" and python_version < "3.13"
44
sphinx-rtd-theme==3.0.2 ; python_version >= "3.11" and python_version < "3.13"

drevalpy/models/drp_model.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,15 @@ def get_concatenated_features(
213213
cell_line_input=cell_line_input,
214214
drug_input=drug_input,
215215
)
216+
if drug_view is not None:
217+
if drug_view not in inputs:
218+
raise ValueError(f"Expected drug_view '{drug_view}' to be in inputs, but it was not. Inputs: {inputs}")
219+
if cell_line_view is not None:
220+
if cell_line_view not in inputs:
221+
raise ValueError(
222+
f"Expected cell_line_view '{cell_line_view}' to be in inputs, but it was not. Inputs: {inputs}"
223+
)
224+
216225
cell_line_features = None if cell_line_view is None else inputs.get(cell_line_view)
217226
drug_features = None if drug_view is None else inputs.get(drug_view)
218227

poetry.lock

Lines changed: 39 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "drevalpy"
3-
version = "1.1.1"
3+
version = "1.1.2"
44
description = "Drug response evaluation of cancer cell line drug response models in a fair setting"
55
authors = ["DrEvalPy development team"]
66
license = "GPL-3.0"
@@ -10,7 +10,7 @@ readme = "README.md"
1010
python = ">=3.11,<3.13"
1111
numpy = ">=1.20,<2.0"
1212
scipy = "*"
13-
scikit-learn = ">=1.4,<1.6"
13+
scikit-learn = ">=1.4,<1.7"
1414
pandas = "*"
1515
networkx = "*"
1616
pyyaml = "*"
@@ -33,7 +33,7 @@ fit = ["curve-curator"]
3333
multiprocessing = ["ray"]
3434

3535
[tool.poetry.group.development.dependencies]
36-
sphinx-autodoc-typehints = "<3.0"
36+
sphinx-autodoc-typehints = "*"
3737
sphinx = ">=4.0.2"
3838
sphinx-autobuild = ">=2021.3.14"
3939
sphinx-rtd-theme = ">=1.0.0,<3.0.3"

0 commit comments

Comments
 (0)