Skip to content

Commit

Permalink
Merge pull request #252 from jeromekelleher/tidy-ups2
Browse files Browse the repository at this point in the history
Tidy ups2
  • Loading branch information
jeromekelleher authored Aug 30, 2024
2 parents 0056a19 + 841c377 commit 14f4be4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 642 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Run tests
run: |
pytest --cov=sc2ts
python -m pytest --cov=sc2ts tests/
# - name: Upload coverage to Coveralls
# uses: coverallsapp/[email protected]
# with:
Expand Down Expand Up @@ -64,27 +64,26 @@ jobs:
- name: Import alignments
run: |
python3 -m sc2ts import-alignments testrun/alignments.db \
testrun/data/alignments.fasta
python3 -m sc2ts info-alignments testrun/alignments.db
sc2ts import-alignments testrun/alignments.db testrun/data/alignments.fasta
sc2ts info-alignments testrun/alignments.db
- name: Import metadata
run: |
python3 -m sc2ts import-metadata testrun/data/metadata.tsv testrun/metadata.db
python3 -m sc2ts info-metadata testrun/metadata.db
sc2ts import-metadata testrun/data/metadata.tsv testrun/metadata.db
sc2ts info-metadata testrun/metadata.db
- name: Run inference
run: |
python3 -m sc2ts daily-extend -v testrun/alignments.db testrun/metadata.db \
sc2ts daily-extend -v testrun/alignments.db testrun/metadata.db \
testrun/ --min-group-size=2
- name: Validate
run: |
python3 -m sc2ts validate -v testrun/alignments.db testrun/2020-02-13.ts
sc2ts validate -v testrun/alignments.db testrun/2020-02-13.ts
- name: MatchDB
run: |
python3 -m sc2ts info-matches testrun/match.db
sc2ts info-matches testrun/match.db
packaging:
name: Packaging tests
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ dependencies = [
]
dynamic = ["version"]

[project.scripts]
sc2ts = "sc2ts.cli:cli"

[project.optional-dependencies]
dev = [
"msprime",
Expand Down
3 changes: 0 additions & 3 deletions sc2ts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,3 @@
from . alignments import *
from . metadata import *
from . inference import *
# from . utils import *
from . nextstrain import *

Loading

0 comments on commit 14f4be4

Please sign in to comment.