Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
492 commits
Select commit Hold shift + click to select a range
1654b3c
delete historical stuff
PascalIversen Oct 8, 2025
5fd70e0
dependency
PascalIversen Oct 8, 2025
dc20cbe
Merge pull request #284 from daisybio/embeddings
PascalIversen Oct 8, 2025
1d6a155
Merge pull request #285 from daisybio/metric_rename
PascalIversen Oct 8, 2025
1fb7efe
Merge pull request #272 from daisybio/dependabot/github_actions/devel…
JudithBernett Oct 8, 2025
70082b8
Merge pull request #273 from daisybio/dependabot/github_actions/devel…
JudithBernett Oct 8, 2025
77097a5
Merge pull request #274 from daisybio/dependabot/github_actions/devel…
JudithBernett Oct 8, 2025
147f91c
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Oct 8, 2025
69fa106
new versions
JudithBernett Oct 8, 2025
a23b826
Merge pull request #286 from daisybio/update_versions
JudithBernett Oct 8, 2025
64f2b88
docs
PascalIversen Oct 9, 2025
4373fae
memes
PascalIversen Oct 9, 2025
f9d7a1e
Merge pull request #287 from daisybio/memes
JudithBernett Oct 10, 2025
2167ea7
normalize
PascalIversen Oct 10, 2025
c5738ec
normalize part2
PascalIversen Oct 10, 2025
2c05f34
curve curator unit fix. now works with uM as input unit as stated in …
PascalIversen Oct 13, 2025
19bc89d
Merge branch 'development' into gnns
PascalIversen Oct 13, 2025
7197484
fixing default normalize value
PascalIversen Oct 13, 2025
8d323a6
this code was based on position in the csv column I really dont like …
PascalIversen Oct 13, 2025
b445108
merge fail fix
PascalIversen Oct 13, 2025
43ee0a1
Merge pull request #281 from daisybio/BeatAML2
PascalIversen Oct 13, 2025
829739d
[DEPENDABOT]: Bump actions/cache from 4.2.4 to 4.3.0
dependabot[bot] Oct 13, 2025
332273d
cleaning
PascalIversen Oct 14, 2025
6c6b0ef
Merge pull request #283 from daisybio/gnns
PascalIversen Oct 14, 2025
74388a5
speed update
PascalIversen Oct 14, 2025
c2942f5
Merge pull request #288 from daisybio/dependabot/github_actions/devel…
JudithBernett Oct 15, 2025
79c54d8
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Oct 15, 2025
ad8c6c2
new versions
JudithBernett Oct 15, 2025
faf6314
Merge pull request #293 from daisybio/gnns
PascalIversen Oct 15, 2025
607016c
Merge pull request #294 from daisybio/update_versions
JudithBernett Oct 15, 2025
de3bc4b
Text update for report w.r.t. p-value correction.
JudithBernett Oct 17, 2025
4c73f1f
Merge remote-tracking branch 'origin/development' into development
JudithBernett Oct 17, 2025
2240565
[DEPENDABOT]: Bump actions/upload-artifact from 4 to 5
dependabot[bot] Oct 27, 2025
c629e24
raytune fix and tests
PascalIversen Oct 30, 2025
bd2f9aa
readme
PascalIversen Oct 30, 2025
faa2cf9
docstring
PascalIversen Oct 30, 2025
5a92639
thanks judith
PascalIversen Oct 31, 2025
361177a
Update drevalpy/experiment.py
PascalIversen Oct 31, 2025
b57c174
ray TUNE
PascalIversen Oct 31, 2025
c47df39
merge
PascalIversen Oct 31, 2025
6ee17b9
merge
PascalIversen Oct 31, 2025
fc29093
ray TUNEEE
PascalIversen Oct 31, 2025
cb65aea
starlette'
PascalIversen Oct 31, 2025
f0aaf83
relax safety
PascalIversen Oct 31, 2025
ff366fc
safetynr2
PascalIversen Oct 31, 2025
5def79f
safety
PascalIversen Oct 31, 2025
4e569ea
remove safety for now
PascalIversen Oct 31, 2025
4685282
Dupdate workflow add multiprocessing
PascalIversen Oct 31, 2025
206377c
workflow no cude
PascalIversen Nov 1, 2025
8fae9d5
gpu needs 4gb or something
PascalIversen Nov 1, 2025
8b94d56
poetry locjk
PascalIversen Nov 3, 2025
e67ceaa
update workflow
PascalIversen Nov 3, 2025
f16691b
skip ray test
PascalIversen Nov 3, 2025
d526eb9
update workflow
PascalIversen Nov 3, 2025
98510ab
typeguard exclude ray
PascalIversen Nov 3, 2025
fc01116
skip ray
PascalIversen Nov 3, 2025
22b3af1
featurizer molgnet
PascalIversen Nov 13, 2025
7638d83
chemberta rename
PascalIversen Nov 13, 2025
0e6414d
rename
PascalIversen Nov 13, 2025
5b12dad
peotry
PascalIversen Nov 13, 2025
4ef55d7
Update drevalpy/datasets/featurizer/create_molgnet_embeddings.py
PascalIversen Nov 13, 2025
3e68f66
types
PascalIversen Nov 13, 2025
84341f3
merge
PascalIversen Nov 13, 2025
7d23f92
restructured data loading, included PDX_Bruna, updated documentation
JudithBernett Nov 13, 2025
78224da
updated versions
JudithBernett Nov 13, 2025
d59faa4
Merge pull request #304 from daisybio/ray_update
JudithBernett Nov 13, 2025
4e4c604
Merge remote-tracking branch 'origin/development' into update_versions
JudithBernett Nov 13, 2025
eba7748
Merge pull request #303 from daisybio/dependabot/github_actions/devel…
JudithBernett Nov 13, 2025
c3db379
Merge pull request #308 from daisybio/update_versions
JudithBernett Nov 13, 2025
2852ae8
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Nov 13, 2025
d24bb62
Merge branch 'development' into pdx_beataml
JudithBernett Nov 13, 2025
8025b98
Merge branch 'development' into molgnet_featurizer
PascalIversen Nov 13, 2025
f60dbea
fail fast true
PascalIversen Nov 13, 2025
72dea5f
fast
PascalIversen Nov 13, 2025
995708f
adapt: gene lists are now located in meta
JudithBernett Nov 13, 2025
14096d0
fix: added tissue, comment raytune out for the moment
JudithBernett Nov 13, 2025
47befe3
added pydantic because of https://github.com/ray-project/ray/pull/583…
JudithBernett Nov 14, 2025
edb124f
forfot to add pydantic to the project dependencies
JudithBernett Nov 14, 2025
1e6e713
Merge pull request #307 from daisybio/pdx_beataml
JudithBernett Nov 14, 2025
95723bb
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Nov 14, 2025
39941a8
updated summary png to include ChemBERTaNeuralNetwork, DrugGNN, BeatA…
JudithBernett Nov 14, 2025
0b35f15
Merge pull request #309 from daisybio/docs_update
JudithBernett Nov 14, 2025
8daae53
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Nov 14, 2025
2eaabb1
Merge branch 'development' into molgnet_featurizer
JudithBernett Nov 14, 2025
395dd47
small fixes from copilot
JudithBernett Nov 14, 2025
b1a8233
documentation fix
JudithBernett Nov 14, 2025
c3f3545
bump up to 1.4.0, new package versions
JudithBernett Nov 20, 2025
9c8eb1d
Merge pull request #314 from daisybio/update_versions
JudithBernett Nov 20, 2025
9707780
updated demo to include approximate runtimes and drevalpy version
JudithBernett Nov 20, 2025
a5ce662
testing featurizers because testing is important for code quality and…
PascalIversen Nov 20, 2025
f1e71a7
updated demo to include all commands
JudithBernett Nov 20, 2025
243e8d5
opt dep
PascalIversen Nov 20, 2025
c4d87ee
Merge pull request #315 from daisybio/update_demo
JudithBernett Nov 20, 2025
de4be14
opt dep2
PascalIversen Nov 20, 2025
b53fc01
Merge branch 'molgnet_featurizer' of github.com:daisybio/drevalpy int…
JudithBernett Nov 20, 2025
a1c6de1
opt dep3
PascalIversen Nov 20, 2025
8cdff7f
Merge branch 'molgnet_featurizer' of github.com:daisybio/drevalpy int…
JudithBernett Nov 20, 2025
a586bf3
Merge remote-tracking branch 'origin/development' into molgnet_featur…
JudithBernett Nov 20, 2025
227eee0
skipping tests because rdkit needs to be installed
JudithBernett Nov 20, 2025
d8bd535
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Nov 20, 2025
bfca4ff
Merge pull request #305 from daisybio/molgnet_featurizer
JudithBernett Nov 20, 2025
6115817
Merge pull request #264 from daisybio/development
JudithBernett Nov 20, 2025
48b244f
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Nov 21, 2025
c1a03d9
Merge branch 'main' of github.com:daisybio/drevalpy
JudithBernett Nov 21, 2025
a5602b1
included manual docker build information in pull request template
JudithBernett Nov 21, 2025
b892086
[DEPENDABOT]: Bump actions/checkout from 5 to 6
dependabot[bot] Nov 24, 2025
9559ec5
[DEPENDABOT]: Bump actions/upload-artifact from 5 to 6
dependabot[bot] Dec 15, 2025
7fe8220
[DEPENDABOT]: Bump actions/cache from 4.3.0 to 5.0.1
dependabot[bot] Dec 15, 2025
6212d96
Merge pull request #320 from daisybio/dependabot/github_actions/devel…
JudithBernett Dec 17, 2025
0624087
Merge pull request #324 from daisybio/dependabot/github_actions/devel…
JudithBernett Dec 17, 2025
4971bf6
Merge pull request #325 from daisybio/dependabot/github_actions/devel…
JudithBernett Dec 17, 2025
7659ea1
addresses #322 : making CLI commands for the nfcore pipeline
JudithBernett Dec 17, 2025
96f4b77
updating versions
JudithBernett Dec 17, 2025
207f1f2
properly loading pickle
JudithBernett Dec 18, 2025
4fd3a96
properly loading pickle II
JudithBernett Dec 18, 2025
e6c0933
Merge branch 'cli_commands' of github.com:daisybio/drevalpy into cli_…
JudithBernett Dec 18, 2025
b638177
random
PascalIversen Dec 18, 2025
2306a7d
opening everything safely now.
JudithBernett Dec 18, 2025
c9ea461
trying to fix tests by adding a header
JudithBernett Dec 18, 2025
4c0ae3e
Merge branch 'cli_commands' of github.com:daisybio/drevalpy into cli_…
JudithBernett Dec 18, 2025
1602eae
[DEPENDABOT]: Bump actions/download-artifact from 5 to 7
dependabot[bot] Dec 22, 2025
5612305
[DEPENDABOT]: Bump codecov/codecov-action from 5.5.1 to 5.5.2
dependabot[bot] Dec 22, 2025
c315f4a
automated tests no longer dependent on Zenodo
JudithBernett Jan 7, 2026
c48f10c
fixing mypy, removing unused test
JudithBernett Jan 7, 2026
62b0efb
fixing really dumb error: forgot new loading for TOYv2
JudithBernett Jan 7, 2026
d2b3eec
maybe with resolved paths?
JudithBernett Jan 7, 2026
082239b
forgot to make sure that data exists
JudithBernett Jan 7, 2026
17af7ba
Add NaiveTissueDrugMeanPredictor
nictru Jan 9, 2026
c7c10e1
Add contributor
nictru Jan 9, 2026
3f87d01
Update strongest architecture docs
nictru Jan 9, 2026
5395d2e
Change the way tissues are accessed
nictru Jan 9, 2026
f99d046
* minor changes to the cli functions
JudithBernett Jan 9, 2026
8156dac
test_dataset function also needs the sample dataset
JudithBernett Jan 9, 2026
db6619f
mypy fix
JudithBernett Jan 9, 2026
5d789a2
Merge pull request #327 from daisybio/cli_commands
JudithBernett Jan 9, 2026
e9c97dd
Merge pull request #330 from daisybio/dependabot/github_actions/devel…
JudithBernett Jan 9, 2026
18597aa
Merge pull request #329 from daisybio/dependabot/github_actions/devel…
JudithBernett Jan 9, 2026
0199458
Update usage docs on strongest baseline
nictru Jan 9, 2026
6a5f469
Merge pull request #334 from Orakl-Oncology-Dev/naive-tissue-drug-mea…
JudithBernett Jan 9, 2026
76e6327
Implement first PharmaFormer draft
nictru Jan 12, 2026
d1b5440
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Jan 12, 2026
14233fb
Remove gene list from pharmaFormer loader
nictru Jan 12, 2026
7758ee1
Add citation
nictru Jan 12, 2026
c565e48
Fix BPE tests
nictru Jan 12, 2026
360dd2d
Use consistent gene set
nictru Jan 12, 2026
627813e
Fix mypy
nictru Jan 12, 2026
2b6f154
Make sure BPE embeddings are created before tests
nictru Jan 12, 2026
e3d7b32
Next attempt of adding BP encoding before tests
nictru Jan 12, 2026
bd1f0b0
fixing #310
JudithBernett Jan 12, 2026
5cb5d27
leaderboard
PascalIversen Jan 13, 2026
5fbd0ee
added leaderboard to readme
PascalIversen Jan 13, 2026
1faa0a7
leaderbaord
PascalIversen Jan 13, 2026
f148610
font size
PascalIversen Jan 13, 2026
28e4c0b
font size and removed std
PascalIversen Jan 13, 2026
cf4ccde
black bg
PascalIversen Jan 13, 2026
3204501
true black bg and cache busting
PascalIversen Jan 13, 2026
d37f885
matching githubs darkmode :)
PascalIversen Jan 13, 2026
0c4095f
matching githubs darkmode :)
PascalIversen Jan 13, 2026
ede23c8
cache busting again
PascalIversen Jan 13, 2026
7df8c19
curvecurator test
JudithBernett Jan 13, 2026
31c2e12
updates
JudithBernett Jan 13, 2026
38356a7
1000 points are too many, actually
JudithBernett Jan 13, 2026
8603bf7
documentation added
JudithBernett Jan 13, 2026
8c9ef8c
fixing float errors
JudithBernett Jan 13, 2026
43b378f
I always forget mypy
PascalIversen Jan 13, 2026
abb222b
explanatory comment was still wrong
JudithBernett Jan 13, 2026
5330745
Merge pull request #337 from daisybio/curvecurator_fix
JudithBernett Jan 13, 2026
58682ef
lightmode friendlier
PascalIversen Jan 13, 2026
ee11959
forgot to add images
PascalIversen Jan 13, 2026
bb5f0a0
line fix
PascalIversen Jan 13, 2026
6f2e296
simplify colors
PascalIversen Jan 13, 2026
3b1a999
rm alpha :D
PascalIversen Jan 13, 2026
eedfa41
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Jan 13, 2026
3904622
Update drevalpy/visualization/create_leaderboard.py
PascalIversen Jan 13, 2026
a99b3b8
Update drevalpy/visualization/create_leaderboard.py
PascalIversen Jan 13, 2026
eb728a9
update plots again
PascalIversen Jan 13, 2026
94cf1a8
update plots again again
PascalIversen Jan 13, 2026
b98e087
update plots again again
PascalIversen Jan 13, 2026
8f106d6
Update drevalpy/visualization/create_leaderboard.py
PascalIversen Jan 13, 2026
98aa5c1
Update drevalpy/visualization/create_leaderboard.py
PascalIversen Jan 13, 2026
7244508
more changes to the plot
PascalIversen Jan 13, 2026
6d8f738
Update drevalpy/visualization/create_leaderboard.py
PascalIversen Jan 13, 2026
9f2722e
Merge branch 'development' into leaderboard
PascalIversen Jan 13, 2026
e61315a
capitalized N
PascalIversen Jan 13, 2026
5748b82
capitalized N
PascalIversen Jan 13, 2026
9c94d0b
merge
PascalIversen Jan 13, 2026
8ad96bc
Merge pull request #344 from daisybio/leaderboard
PascalIversen Jan 13, 2026
6b60598
Merge pull request #345 from daisybio/development
JudithBernett Jan 14, 2026
1204dcb
Add docs
nictru Jan 14, 2026
6d05984
Add warning for featurizer
nictru Jan 14, 2026
9611828
Update pharmaformer drug featurizer references
nictru Jan 14, 2026
2ce0348
Merge branch 'development' into pharmaformer
nictru Jan 14, 2026
5c96ac6
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Jan 14, 2026
6928142
Merge branch 'main' of github.com:daisybio/drevalpy
JudithBernett Jan 14, 2026
155d732
Merge pull request #336 from Orakl-Oncology-Dev/pharmaformer
nictru Jan 14, 2026
fda94ce
Adding Naive Tissue Drug Mean Predictor + PharmaFormer to the overvie…
JudithBernett Jan 14, 2026
3f4a1be
Merge branch 'development' into update_overview_figure
JudithBernett Jan 14, 2026
491a015
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Jan 14, 2026
587cefd
Merge pull request #347 from daisybio/update_overview_figure
JudithBernett Jan 14, 2026
b064354
Fix dataset loading from cache
nictru Jan 16, 2026
d6f155b
Make sure datasets are copied properly
nictru Jan 16, 2026
f91950d
Revert "Fix dataset loading from cache"
nictru Jan 16, 2026
531fe9f
Set default tissue column for dataset loading
nictru Jan 16, 2026
3dadf05
Black
nictru Jan 16, 2026
088ace1
Add integrity tests
nictru Jan 16, 2026
4faf4b0
Pre-commit
nictru Jan 16, 2026
f3afe32
Merge pull request #350 from Orakl-Oncology-Dev/fix-#349
nictru Jan 17, 2026
e61ba1c
some more mutability saveguards
PascalIversen Jan 17, 2026
0015a69
test
PascalIversen Jan 17, 2026
a6fe5c6
Add wandb logging
nictru Jan 14, 2026
249da90
Update deprecated re-init option
nictru Jan 14, 2026
9c3b6ae
Improve gitignore
nictru Jan 14, 2026
d748150
Simplify wandb implementation
nictru Jan 14, 2026
1aa852f
Simplify wandb implementation
nictru Jan 14, 2026
1a4462b
Test Judith's proposed fix
nictru Jan 15, 2026
f444b59
Update CI isort version
nictru Jan 15, 2026
7c53a18
Attempt changing pre-commit isort config
nictru Jan 15, 2026
feee8b3
Try making isort diff visible in CI
nictru Jan 15, 2026
2b247fc
Revert pre-commit config changes
nictru Jan 15, 2026
df98173
Remove isort diff arg
nictru Jan 15, 2026
fa20fd1
Add back isort diff arg
nictru Jan 15, 2026
0fa25e1
Also add check arg
nictru Jan 15, 2026
583fdfa
Attempt fixing isort issue
nictru Jan 15, 2026
b02bb63
Fix mypy
nictru Jan 15, 2026
30af514
Make hyperparameters non-optional
nictru Jan 15, 2026
feccfeb
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Jan 19, 2026
0d362c3
Clean wandb implementation
nictru Jan 19, 2026
435d548
zenodo doi
PascalIversen Jan 19, 2026
77f185d
Prevent duplicate RMSE logging
nictru Jan 19, 2026
146520a
Make sure test losses are logged properly
nictru Jan 19, 2026
ea8702f
[DEPENDABOT]: Bump actions/cache from 5.0.1 to 5.0.2
dependabot[bot] Jan 19, 2026
94c2c24
Fix non-hyperparam optimization wandb behavior
nictru Jan 20, 2026
2bed7fd
Fix drp_model for CI
nictru Jan 20, 2026
c7100c7
FixFix wandb_project test error
nictru Jan 20, 2026
707105c
Merge pull request #352 from daisybio/zenodo
PascalIversen Jan 20, 2026
a78d167
Merge branch 'development' into mutability
PascalIversen Jan 20, 2026
1d70543
Merge pull request #351 from daisybio/mutability
nictru Jan 20, 2026
8f42628
Merge branch 'development' into dependabot/github_actions/development…
JudithBernett Jan 20, 2026
d4bf0aa
Merge pull request #353 from daisybio/dependabot/github_actions/devel…
JudithBernett Jan 20, 2026
af21b56
Merge remote-tracking branch 'origin/development' into weights-and-bi…
nictru Jan 22, 2026
4ed1602
Merge pull request #348 from Orakl-Oncology-Dev/weights-and-biases
nictru Jan 22, 2026
3a67250
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Jan 22, 2026
08fa8d4
new versions
JudithBernett Jan 22, 2026
77bd8a6
updating to v1.4.2, too
JudithBernett Jan 22, 2026
e442d39
updating to new black conventions
JudithBernett Jan 22, 2026
a37e1f5
Merge pull request #358 from daisybio/update_versions
JudithBernett Jan 22, 2026
2a548a6
version update
JudithBernett Feb 9, 2026
2f4b8e9
Merge branch 'development' of github.com:daisybio/drevalpy into devel…
JudithBernett Feb 9, 2026
cb40de8
Merge branch 'development' into docs_fix
JudithBernett Feb 9, 2026
773d701
Merge pull request #365 from daisybio/docs_fix
JudithBernett Feb 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
3 changes: 3 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,6 @@
- name: skip-changelog
description: Changes that should be omitted from the release notes
color: "#ededed"
- name: DEPENDABOT
description: Pull requests created by Dependabot
color: "#ff00b3"
55 changes: 41 additions & 14 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,49 @@
<!-- Many thanks for contributing to this project! -->

**PR Checklist**
# PR Checklist for all PRs

<!-- Please fill in the appropriate checklist below (delete whatever is not relevant). These are the most common things requested on pull requests (PRs). -->

- [ ] This comment contains a description of changes (with reason)
- [ ] Referenced issue is linked
- [ ] If you've fixed a bug or added code that should be tested, add tests!
- [ ] Documentation in `docs` is updated

**Description of changes**

<!-- Please state what you've changed and how it might affect the user. -->

**Technical details**

<!-- Please state any technical details such as limitations, reasons for additional dependencies, benchmarks etc. here. -->

**Additional context**

<!-- Add any other context or screenshots here. -->
- [ ] Documentation in `docs` is updated. If you've created a new file, add it to the API documentation pages.

<!-- Only applies to PRs for a new version release, delete the lines that don't apply -->

### Changes

### Bug fixes

### New features

### Maintenance

## Version release checklist

- [ ] Update the version in pyproject.toml
- [ ] Update version/release in docs/conf.py
- [ ] Run ‚poetry update‘ to get the latest package versions. This will update the poetry.lock file
- [ ] Run ‚poetry export --without-hashes --without development -f requirements.txt -o requirements.txt‘ to update the requirements.txt file
- [ ] (If one of the sphinx packages has been updated, you also need to update docs/requirements.txt)
- [ ] (If poetry itself was updated, update that in the Dockerfile and installation.rst)
- [ ] If you updated the python version:
- [ ] Update the Dockerfile so that it always runs on the latest python version. Watch out: the ‚builder‘ is the full python, the ‚runtime‘ is a slim python build.
- [ ] Update the python version in .github/workflows/: run_tests.yml, build_package.yml, publish_docs.yml, python-package.yml
- [ ] Update the python version in noxfile.py
- [ ] Update the documentation: contributing.rst, installation.rst

Then,

1. Open a PR from development to main with these changes.
2. Wait for a review and merge.
3. Create a new release on GitHub with the version number. Update the release notes with the changes made in this version.
4. If the Docker github action fails (e.g., no space left on device), you can do it manually:
- Enable Docker buildx locally. If you don't have a builder that supports multi-arch, create one:
```{bash}
docker buildx ls
docker buildx create --use --name multiarch-builder
docker buildx inspect --bootstrap
```
- Login to ghcr `docker login --username <GitHub-Username> --password <personal-access-token> ghcr.io`
- Build the multi-platform image, insert the correct version `docker buildx build --platform linux/amd64,linux/arm64 -t ghcr.io/daisybio/drevalpy:v<INSERT-VERSION> -t ghcr.io/daisybio/drevalpy:latest --push .`
6 changes: 3 additions & 3 deletions .github/workflows/build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python: ["3.11", "3.12"]
python: ["3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
name: Check out source-code repository

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Run Labeler
uses: crazy-max/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
steps:
# Necessary for buildx
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Setup QEMU
uses: docker/setup-qemu-action@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
name: Check out source-code repository

- name: Setup Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.12"
python-version: "3.13"

- name: Install pip
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
python-version: ["3.11", "3.12", "3.13"]

steps:
- name: Check out the repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.x"
- name: Install dependencies
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
39 changes: 20 additions & 19 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ jobs:
name: ${{ matrix.session }} ${{ matrix.python-version }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
fail-fast: true
matrix:
include:
- { python-version: "3.12", os: ubuntu-latest, session: "pre-commit" }
- { python-version: "3.12", os: ubuntu-latest, session: "mypy" }
- { python-version: "3.12", os: ubuntu-latest, session: "tests" }
- { python-version: "3.12", os: windows-latest, session: "typeguard" }
- { python-version: "3.12", os: ubuntu-latest, session: "xdoctest" }
- { python-version: "3.12", os: ubuntu-latest, session: "docs-build" }
- { python-version: "3.13", os: ubuntu-latest, session: "pre-commit" }
- { python-version: "3.13", os: ubuntu-latest, session: "mypy" }
- { python-version: "3.13", os: ubuntu-latest, session: "tests" }
- { python-version: "3.13", os: windows-latest, session: "typeguard" }
- { python-version: "3.13", os: ubuntu-latest, session: "xdoctest" }
- { python-version: "3.13", os: ubuntu-latest, session: "docs-build" }

env:
NOXSESSION: ${{ matrix.session }}

steps:
- name: Check out the repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
print("::set-output name=result::{}".format(result))

- name: Restore pre-commit cache
uses: actions/cache@v4.2.3
uses: actions/cache@v5.0.2
if: matrix.session == 'pre-commit'
with:
path: ~/.cache/pre-commit
Expand All @@ -73,19 +73,20 @@ jobs:
${{ steps.pre-commit-cache.outputs.result }}-

- name: Run Nox
run: nox --force-color --python=${{ matrix.python-version }}
run: |
nox --force-color --python=${{ matrix.python-version }}

- name: Upload coverage data
if: always() && matrix.session == 'tests' && matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: coverage-data
path: ".coverage.*"
include-hidden-files: "true"

- name: Upload documentation
if: matrix.session == 'docs-build'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: docs
path: docs/_build
Expand All @@ -95,12 +96,12 @@ jobs:
needs: tests
steps:
- name: Check out the repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Set up Python 3.12
uses: actions/setup-python@v5
- name: Set up Python 3.13
uses: actions/setup-python@v6
with:
python-version: 3.12
python-version: 3.13

- name: Install Poetry
run: |
Expand All @@ -116,7 +117,7 @@ jobs:
nox --version

- name: Download coverage data
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: coverage-data

Expand All @@ -127,6 +128,6 @@ jobs:
run: nox --force-color --session=coverage -- xml -i

- name: Upload coverage report
uses: codecov/codecov-action@v5.4.3
uses: codecov/codecov-action@v5.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
15 changes: 0 additions & 15 deletions .github/workflows/safety_scan.yml

This file was deleted.

18 changes: 8 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# Data
data/cell_line_input
data/response_output
data/mapping
data/GDSC1
data/GDSC2
data/CCLE
data/TOYv1
data/TOYv2
data/CTRPv1
data/CTRPv2
data/

# Results directory is created when running the demo notebook
results/

# Wandb directory is created when running the benchmark with wandb
wandb/

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down Expand Up @@ -171,3 +168,4 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
/data/GDSC/
.Rproj.user
15 changes: 7 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ repos:
- id: check-added-large-files
name: Check for added large files
entry: check-added-large-files
exclude: ^dreval_demo\.ipynb$
language: system
- id: check-toml
name: Check Toml
Expand All @@ -35,26 +36,20 @@ repos:
types: [python]
require_serial: true
args:
- --ignore=D212,W503,C901,N803,N806
- --ignore=D212,W503,C901,N803,N806,S615,S403,S301
- id: pyupgrade
name: pyupgrade
description: Automatically upgrade syntax for newer versions.
entry: pyupgrade
language: system
types: [python]
args: [--py39-plus, --keep-runtime-typing]
- id: trailing-whitespace
name: Trim Trailing Whitespace
entry: trailing-whitespace-fixer
language: system
types: [text]
stages: [pre-commit, pre-push, manual]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
hooks:
- id: prettier
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 6.0.1
hooks:
- id: isort
name: isort (python)
Expand All @@ -64,3 +59,7 @@ repos:
- id: isort
name: isort (pyi)
types: [pyi]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# https://medium.com/@albertazzir/blazing-fast-python-docker-builds-with-poetry-a78a66f5aed0

# The builder image, used to build the virtual environment
FROM python:3.11-buster AS builder
FROM python:3.13-bookworm AS builder

RUN pip install poetry==2.0.0
RUN pip install poetry==2.3.2

# POETRY_CACHE_DIR: When removing the cache folder, make sure this is done in the same RUN command. If it’s done in a
# separate RUN command, the cache will still be part of the previous Docker layer (the one containing poetry install )
Expand All @@ -25,26 +25,24 @@ RUN touch README.md
RUN poetry install --without development --no-root && rm -rf $POETRY_CACHE_DIR

# The runtime image, used to run the code
FROM python:3.11-slim-buster AS runtime
FROM python:3.13-slim-bookworm AS runtime

LABEL image.author.name="Judith Bernett"
LABEL image.author.email="[email protected]"

# Copy installed dependencies from the builder image
COPY --from=builder /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages
COPY --from=builder /usr/local/lib/python3.13/site-packages /usr/local/lib/python3.13/site-packages
COPY --from=builder /usr/local/bin /usr/local/bin

# Copy all relevant code

COPY drevalpy ./drevalpy
COPY create_report.py ./
COPY README.md ./
COPY run_suite.py ./
COPY pyproject.toml ./
COPY poetry.lock ./

# Install drevalpy
RUN pip install .

# Nextflow needs the command ps to be available
RUN apt-get update && apt-get install -y procps && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y procps unzip && rm -rf /var/lib/apt/lists/*
Loading