mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Fix for version file output check when performing an expected error test (#1242)
* hifiasm copied from fastqc * hifiasm tests init from fastqc * meta.yml init; test.yml and main.nf for printing version * Add hifiasm version printing * Removed spaced on an empty line * Reverted hifiasm from main * Ignores version file checking if testing for error * Added comment Co-authored-by: Sviatoslav Sidorov <sviatoslav.sidorov@crick.ac.uk> Co-authored-by: Svyatoslav Sidorov <svet.sidorov@gmail.com> Co-authored-by: Tamara Hodgetts <hodgett@crick.ac.uk>
This commit is contained in:
parent
a45e030166
commit
f3a405e4f2
1 changed files with 4 additions and 1 deletions
|
@ -16,6 +16,9 @@ def _get_workflow_names():
|
|||
# test_config = yaml.safe_load(f.read_text())
|
||||
test_config = yaml.load(f.read_text(), Loader=yaml.BaseLoader)
|
||||
for workflow in test_config:
|
||||
# https://github.com/nf-core/modules/pull/1242 - added to cover tests
|
||||
# that expect an error and therefore will not generate a versions.yml
|
||||
if 'exit_code' not in workflow:
|
||||
yield workflow["name"]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue