Skip to content

Commit d2456df

Browse files
authored
Merge pull request #4 from remydubois/fix/license
Added license, improved readme and publish action
2 parents 4bb0053 + 839f712 commit d2456df

3 files changed

Lines changed: 43 additions & 5 deletions

File tree

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish Python Package
2+
3+
on:
4+
release:
5+
types: [published]
6+
branches: [main]
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
deploy:
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Set up Python
19+
uses: actions/setup-python@v3
20+
with:
21+
python-version: '3.11'
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade poetry
25+
python -m poetry install --with dev
26+
- name: Build package
27+
run: python -m poetry build
28+
- name: Publish package
29+
run: python -m poetry publish -u __token__ -p ${{ secrets.PYPI_TOKEN }}

LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2025 Rémy Dubois
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,7 @@ In order for benchmarks to run in a reasonable amount of time, the timings repor
112112
</p>
113113

114114
### Scalability
115-
TODO: this could clearly be improved with a smarter batching strategy
116-
`illico` scales reasonably well with your compute budget. Find below the processing time of the K562-essential dataset for both OVO and OVR tests, while increasing the number of threads used. Similarly as before, a benchmark is defined by:
117-
1. The data format (CSR, or dense) used to contain the expression matrix.
118-
2. The test performed: OVO (`reference="non-targeting"`) or OVR (`reference=None`).
119-
The example below shows spanning 8 threads instead of 1 brings a 7-folds speedup for the cell line k562.
115+
`illico` scales reasonably well with your compute budget. On the K562-essential dataset spanning 8 threads instead of 1 brings a 7-folds speedup.
120116
```bash
121117
---------------------- benchmark 'k562-dense-ovo': 4 tests -----------------------
122118
Name (time in s) Mean

0 commit comments

Comments
 (0)