Skip to content

Commit 1c4b567

Browse files
authored
Merge pull request #9 from cokelaer/dev
Update CI, comments, setup
2 parents bf5de3b + c03511d commit 1c4b567

File tree

6 files changed

+32
-6
lines changed

6 files changed

+32
-6
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,23 @@ jobs:
3838
3939
4040
- name: install package itself
41+
shell: bash -l {0}
4142
run: |
42-
pip install .
43+
which pip
44+
pip install .
4345
4446
- name: Install dependencies
47+
shell: bash -l {0}
4548
run: |
4649
pip install coveralls pytest-cov pytest pytest-xdist
4750
4851
- name: testing
52+
shell: bash -l {0}
4953
run: |
5054
pytest -v --cov-report term-missing --cov=sequana_pipelines.fastqc
5155
5256
- name: coveralls
57+
shell: bash -l {0}
5358
run: |
5459
echo $COVERALLS_REPO_TOKEN
5560
coveralls --service=github

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
:alt: JOSS (journal of open source software) DOI
88

99
.. image:: https://github.com/sequana/fastqc/actions/workflows/main.yml/badge.svg
10-
:target: https://github.com/sequana/fastqc/actions/workflows
10+
:target: https://github.com/sequana/fastqc/actions/workflows/main.yml
1111

1212

1313

@@ -132,6 +132,8 @@ Changelog
132132
========= ====================================================================
133133
Version Description
134134
========= ====================================================================
135+
1.6.1 * pin sequana version to 1.4.4 to force usage of new fastqc module
136+
to fix falco. Updated config documentation.
135137
1.6.0 * Fixed falco output error and use singularity containers
136138
1.5.0 * removed modules completely.
137139
1.4.2 * simplified pipeline (suppress setup and use existing wrapper)

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: sequana_fastqc
22

33
channels:
4-
- bioconda
54
- conda-forge
5+
- bioconda
66
- defaults
77
- r
88

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
sequana>=0.12.1
1+
sequana>=0.14.4
22
sequana_pipetools>=0.9.1

sequana_pipelines/fastqc/config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ input_pattern: '*fastq.gz'
2121
##############################################################################
2222
# general section
2323
#
24+
# Choose one of the standard method to perform QC of your fastq data
25+
#
2426
# method_choice__ = ['fastqc', 'falco']
2527
general:
2628
method_choice: fastqc
@@ -36,6 +38,13 @@ fastqc:
3638
threads: 4
3739
resources:
3840
mem: 8G
41+
42+
##############################################################################
43+
# Falco section
44+
#
45+
# :Parameters:
46+
#
47+
# - options: string with any valid FastQC options
3948
falco:
4049
options: ''
4150
threads: 4

setup.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
_MAJOR = 1
77
_MINOR = 6
8-
_MICRO = 0
8+
_MICRO = 1
99
version = '%d.%d.%d' % (_MAJOR, _MINOR, _MICRO)
1010
release = '%d.%d' % (_MAJOR, _MINOR)
1111

@@ -69,7 +69,17 @@ def run(self):
6969
packages = ["sequana_pipelines.fastqc"],
7070

7171
install_requires = open("requirements.txt").read(),
72-
72+
extras_require={
73+
"testing": [
74+
"pytest",
75+
"pytest-cov",
76+
"pytest-xdist",
77+
"pytest-mock",
78+
"pytest-timeout",
79+
"pytest-runner",
80+
"coveralls",
81+
],
82+
},
7383
# This is recursive include of data files
7484
exclude_package_data = {"": ["__pycache__"]},
7585
package_data = {

0 commit comments

Comments
 (0)