Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test for FASTQ_FASTQC_UMITOOLS_FASTP which included an absolute path in the snapshot. #5278

Merged

Conversation

adamrtalbot
Copy link
Contributor

@adamrtalbot adamrtalbot commented Mar 19, 2024

The FASTQ_FASTQC_UMITOOLS_FASTP subworkflow included an absolute path in the snapshot because it was passing the input file to the output channel directly without modification for the parameter skip_trimming when no UMI processing was occurring.

This PR reduces the stringency of this specific test slightly to work around this issue.

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Emit the versions.yml file.
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

Copy link
Member

@pinin4fjords pinin4fjords left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@adamrtalbot adamrtalbot added this pull request to the merge queue Mar 19, 2024
Merged via the queue into nf-core:master with commit cabcc0d Mar 19, 2024
11 checks passed
@adamrtalbot adamrtalbot deleted the fastq_fastqc_umitools_fastp_fixed_test branch March 19, 2024 17:06
jvfe added a commit to jvfe/modules that referenced this pull request Mar 19, 2024
* master:
  Fix test for FASTQ_FASTQC_UMITOOLS_FASTP which included an absolute path in the snapshot. (nf-core#5278)
  added new module lofraq/viterbi; solves new module: lofreq/viterbi nf-core#5158 (nf-core#5197)
  Update glimpse/phase output channel to phased_variants nf-core#5172 (nf-core#5174)
  Add module: GTFSORT (nf-core#5237)
  add nf-test to bedtools/sort - nf-core#3936 (nf-core#5221)
  addedd optional output channel for lib files (nf-core#5257)
vlebars pushed a commit to vlebars/modules that referenced this pull request Mar 20, 2024
tucano pushed a commit to tucano/modules that referenced this pull request Mar 20, 2024
jennylsmith pushed a commit to RSC-RP/modules that referenced this pull request Mar 20, 2024
alexnater pushed a commit to alexnater/nf-core-modules that referenced this pull request Mar 21, 2024
tucano pushed a commit to tucano/modules that referenced this pull request Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants