Skip to content

Commit 49c9307

Browse files
Merge pull request #563 from jeromekelleher/more-packaging
More packaging
2 parents bc3ebdd + 71cbd3f commit 49c9307

File tree

8 files changed

+700
-348
lines changed

8 files changed

+700
-348
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install --upgrade pip
32-
python -m pip install '.[dev,debug]'
32+
python -m pip install '.[dev,debug,inference]'
3333
3434
- name: Run tests
3535
run: |
@@ -54,7 +54,7 @@ jobs:
5454
- name: Install dependencies
5555
run: |
5656
python -m pip install --upgrade pip
57-
python -m pip install '.'
57+
python -m pip install '.[inference]'
5858
5959
- name: Create basedir
6060
run: |

LICENSE

Lines changed: 674 additions & 21 deletions
Large diffs are not rendered by default.

notebooks/RecombinantAncestry.ipynb

Lines changed: 0 additions & 192 deletions
This file was deleted.

notebooks/lineage-graphs.ipynb

Lines changed: 0 additions & 112 deletions
This file was deleted.

pyproject.toml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,16 @@ authors = [
88
]
99
requires-python = ">=3.10"
1010
dependencies = [
11-
"tsinfer>=0.5",
1211
"tskit==1.0.0b3",
13-
"pyfaidx",
1412
"tszip",
1513
"pandas",
16-
"numba",
1714
"tqdm",
18-
"scipy",
15+
"zarr<3",
1916
"click>=8.2",
17+
# Not strictly needed for base functionality, but easier to include
18+
# as imported by the CLI
2019
"tomli",
21-
"zarr<3",
2220
"humanize",
23-
"resource",
24-
"biotite",
2521
]
2622
dynamic = ["version"]
2723

@@ -36,6 +32,13 @@ dev = [
3632
"pytest-coverage",
3733
"tomli-w",
3834
]
35+
inference = [
36+
"scipy",
37+
"biotite",
38+
"tsinfer>=0.5",
39+
"pyfaidx",
40+
"numba",
41+
]
3942
debug = [
4043
"matplotlib",
4144
"IPython",

sc2ts/info.py renamed to sc2ts/debug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def label(allele, default=""):
364364
return html + "</table>"
365365

366366

367-
class TreeInfo:
367+
class ArgInfo:
368368
def __init__(
369369
self,
370370
ts,

0 commit comments

Comments
 (0)