Skip to content

Commit 6835312

Browse files
authored
Merge pull request #33 from cokelaer/main
fix CI
2 parents d903948 + a5cb006 commit 6835312

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
max-parallel: 5
1919
matrix:
20-
python: [ 3.8, 3.9, '3.10']
20+
python: [ 3.9, '3.10', '3.11']
2121
fail-fast: false
2222

2323

@@ -31,10 +31,10 @@ jobs:
3131
uses: actions/checkout@v2
3232

3333
- name: conda/mamba
34-
uses: mamba-org/provision-with-micromamba@main
34+
uses: mamba-org/setup-micromamba@v1
3535
with:
3636
environment-file: environment.yml
37-
extra-specs: |
37+
create-args: >-
3838
python=${{ matrix.python }}
3939
4040
- name: install package itself

README.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,15 @@ Then follow the instructions (prepare and execute the pipeline).
172172

173173
You should end up with a summary.hml report.
174174

175-
You can brwose the different samples (only one in this example) and get a table with variant calls:
176175

176+
You can browse the different samples (only one in this example) and get a table with variant calls:
177177

178-
table.png
178+
https://raw.githubusercontent.com/sequana/variant_calling/refs/heads/main/doc/table.png
179179

180-
If you set the coverage one, (not recommended for eukaryotes), you should see this kind of plots::
180+
If you set the coverage one, (not recommended for eukaryotes), you should see this kind of plots:
181+
182+
https://raw.githubusercontent.com/sequana/variant_calling/refs/heads/main/doc/coverage.png
181183

182-
coverage.png
183184

184185

185186

test/test_main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ def test_check_output_ref_annot():
7171

7272
assert vv == {'alternative': 'T',
7373
'chr': 'JB409847',
74-
'depth': 23,
74+
'depth': 24,
7575
'type': 'snp',
76-
'frequency': '0.261',
76+
'frequency': '0.250',
7777
'position': 2221,
7878
'reference': 'C',
7979
'strand_balance': '0.333'}
@@ -107,10 +107,10 @@ def test_check_output_no_annotation():
107107
del vv['fisher_pvalue']
108108
assert vv == {'alternative': 'T',
109109
'chr': 'JB409847',
110-
'depth': 23,
110+
'depth': 24,
111111
#'freebayes_score': 2.78452e-14,
112112
'type': 'snp',
113-
'frequency': '0.261',
113+
'frequency': '0.250', # freebayes 1.3.9 gives 0.250 previous version were giving 0.261...
114114
'position': 2221,
115115
'reference': 'C',
116116
'strand_balance': '0.333'}

0 commit comments

Comments
 (0)