Skip to content

Commit c42d554

Browse files
committed
feat: improve tests and multi-task prediction
1 parent 41ccfcc commit c42d554

File tree

5 files changed

+2164
-698
lines changed

5 files changed

+2164
-698
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,28 @@ For example, in order to leave Belinostat out as a drug for cross-validation (us
6060
python -m scape train --n-genes 64 --cv-drug Belinostat --output-dir models de_train.parquet lfc_train.parquet
6161
```
6262

63+
### Development and Testing
64+
65+
ScAPE uses [pixi](https://pixi.sh/) for dependency management. To set up the development environment:
66+
67+
```bash
68+
# Install dependencies
69+
pixi install
70+
71+
# Activate development environment
72+
pixi shell -e dev
73+
74+
# Run tests (requires JAX backend)
75+
KERAS_BACKEND=jax pixi run -e dev test
76+
77+
# Run specific test file with verbose output
78+
KERAS_BACKEND=jax pixi run -e dev test tests/test_multitask.py -v
79+
80+
# Run linting and formatting
81+
pixi run lint
82+
pixi run format
83+
```
84+
6385

6486
## Interpreting error plots
6587

0 commit comments

Comments
 (0)