-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from phac-nml/dev
Minor Release: 0.4.0
- Loading branch information
Showing
21 changed files
with
213 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: nf-core linting | ||
# This workflow is triggered on pushes and PRs to the repository. | ||
# It runs the `nf-core lint` and markdown lint tests to ensure | ||
# It runs the `nf-core pipelines lint` and markdown lint tests to ensure | ||
# that the code meets the nf-core guidelines. | ||
on: | ||
push: | ||
|
@@ -41,17 +41,32 @@ jobs: | |
python-version: "3.12" | ||
architecture: "x64" | ||
|
||
- name: read .nf-core.yml | ||
uses: pietrobolcato/[email protected] | ||
id: read_yml | ||
with: | ||
config: ${{ github.workspace }}/.nf-core.yml | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install nf-core | ||
pip install nf-core==${{ steps.read_yml.outputs['nf_core_version'] }} | ||
- name: Run nf-core pipelines lint | ||
if: ${{ github.base_ref != 'master' }} | ||
env: | ||
GITHUB_COMMENTS_URL: ${{ github.event.pull_request.comments_url }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_PR_COMMIT: ${{ github.event.pull_request.head.sha }} | ||
run: nf-core -l lint_log.txt pipelines lint --dir ${GITHUB_WORKSPACE} --markdown lint_results.md | ||
|
||
- name: Run nf-core lint | ||
- name: Run nf-core pipelines lint --release | ||
if: ${{ github.base_ref == 'master' }} | ||
env: | ||
GITHUB_COMMENTS_URL: ${{ github.event.pull_request.comments_url }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_PR_COMMIT: ${{ github.event.pull_request.head.sha }} | ||
run: nf-core -l lint_log.txt lint --dir ${GITHUB_WORKSPACE} --markdown lint_results.md | ||
run: nf-core -l lint_log.txt pipelines lint --release --dir ${GITHUB_WORKSPACE} --markdown lint_results.md | ||
|
||
- name: Save PR number | ||
if: ${{ always() }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
tests/data/append/expected_clusters_and_metadata-mismatched-ids.tsv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
id address level_1 level_2 level_3 metadata_1 metadata_2 metadata_3 metadata_4 metadata_5 metadata_6 metadata_7 metadata_8 | ||
sampleA 1.1.1 1 1 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 | ||
sampleB 1.1.1 1 1 1 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 | ||
sampleC 1.2.2 1 2 2 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 | ||
id address level_1 level_2 level_3 sample metadata_1 metadata_2 metadata_3 metadata_4 metadata_5 metadata_6 metadata_7 metadata_8 | ||
sampleA 1.1.1 1 1 1 sampleA 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 | ||
sampleB 1.1.1 1 1 1 sampleB 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 | ||
sampleC 1.2.2 1 2 2 sampleC 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 |
8 changes: 4 additions & 4 deletions
8
tests/data/append/expected_clusters_and_metadata-partial-mismatched-ids.tsv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
id address level_1 level_2 level_3 metadata_1 metadata_2 metadata_3 metadata_4 metadata_5 metadata_6 metadata_7 metadata_8 | ||
sampleA 1.1.1 1 1 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 | ||
sampleB 1.1.1 1 1 1 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 | ||
sample3 1.2.2 1 2 2 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 | ||
id address level_1 level_2 level_3 sample metadata_1 metadata_2 metadata_3 metadata_4 metadata_5 metadata_6 metadata_7 metadata_8 | ||
sampleA 1.1.1 1 1 1 sampleA 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 | ||
sampleB 1.1.1 1 1 1 sampleB 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 | ||
sample3 1.2.2 1 2 2 sample3 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
id address level_1 level_2 level_3 myheader_1 myheader_2 myheader_3 myheader_4 myheader_5 myheader_6 myheader_7 myheader_8 | ||
sample1 1.1.1 1 1 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 | ||
sample2 1.1.1 1 1 1 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 | ||
sample3 1.2.2 1 2 2 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 | ||
id address level_1 level_2 level_3 sample myheader_1 myheader_2 myheader_3 myheader_4 myheader_5 myheader_6 myheader_7 myheader_8 | ||
sample1 1.1.1 1 1 1 sample1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 | ||
sample2 1.1.1 1 1 1 sample2 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 | ||
sample3 1.2.2 1 2 2 sample3 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 |
4 changes: 4 additions & 0 deletions
4
tests/data/append/expected_clusters_and_metadata_addsamplename.tsv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
id address level_1 level_2 level_3 sample metadata_1 metadata_2 metadata_3 metadata_4 metadata_5 metadata_6 metadata_7 metadata_8 | ||
S_1 1.1.1 1 1 1 sample1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 | ||
S2_ 1.1.1 1 1 1 sample2 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 | ||
S2__sample3 1.2.2 1 2 2 sample3 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
id address level_1 level_2 level_3 metadata_1 metadata_2 metadata_3 metadata_4 metadata_5 metadata_6 metadata_7 metadata_8 | ||
sample1 1.1.1 1 1 1 | ||
sample2 1.1.2 1 1 2 | ||
sample3 2.2.3 2 2 3 | ||
id address level_1 level_2 level_3 sample metadata_1 metadata_2 metadata_3 metadata_4 metadata_5 metadata_6 metadata_7 metadata_8 | ||
sample1 1.1.1 1 1 1 sample1 | ||
sample2 1.1.2 1 1 2 sample2 | ||
sample3 2.2.3 2 2 3 sample3 |
8 changes: 4 additions & 4 deletions
8
tests/data/append/expected_clusters_and_metadata_little_metadata.tsv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
id address level_1 level_2 level_3 metadata_1 metadata_2 metadata_3 metadata_4 metadata_5 metadata_6 metadata_7 metadata_8 | ||
sample1 1.1.1 1 1 1 1.4 | ||
sample2 1.1.1 1 1 1 | ||
sample3 1.2.2 1 2 2 3.1 3.2 3.8 | ||
id address level_1 level_2 level_3 sample metadata_1 metadata_2 metadata_3 metadata_4 metadata_5 metadata_6 metadata_7 metadata_8 | ||
sample1 1.1.1 1 1 1 sample1 1.4 | ||
sample2 1.1.1 1 1 1 sample2 | ||
sample3 1.2.2 1 2 2 sample3 3.1 3.2 3.8 |
8 changes: 4 additions & 4 deletions
8
tests/data/append/expected_clusters_and_metadata_no_metadata.tsv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
id address level_1 level_2 level_3 metadata_1 metadata_2 metadata_3 metadata_4 metadata_5 metadata_6 metadata_7 metadata_8 | ||
sample1 1.1.1 1 1 1 | ||
sample2 1.1.1 1 1 1 | ||
sample3 1.2.2 1 2 2 | ||
id address level_1 level_2 level_3 sample metadata_1 metadata_2 metadata_3 metadata_4 metadata_5 metadata_6 metadata_7 metadata_8 | ||
sample1 1.1.1 1 1 1 sample1 | ||
sample2 1.1.1 1 1 1 sample2 | ||
sample3 1.2.2 1 2 2 sample3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
sample,sample_name,mlst_alleles,metadata_1,metadata_2,metadata_3,metadata_4,metadata_5,metadata_6,metadata_7,metadata_8 | ||
sample1,S 1,https://raw.githubusercontent.com/phac-nml/gasclustering/dev/tests/data/reports/sample1.mlst.json,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8 | ||
sample2,S2#,https://raw.githubusercontent.com/phac-nml/gasclustering/dev/tests/data/reports/sample2.mlst.json,2.1,2.2,2.3,2.4,2.5,2.6,2.7,2.8 | ||
sample3,S2_,https://raw.githubusercontent.com/phac-nml/gasclustering/dev/tests/data/reports/sample3.mlst.json,3.1,3.2,3.3,3.4,3.5,3.6,3.7,3.8 |
Oops, something went wrong.