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

when file not found in DEEPCELL_MESMER test, the test is not run, so the issue isn't reported #76

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

RobJY
Copy link
Contributor

@RobJY RobJY commented Jan 21, 2025

PR checklist

  • This comment contains a description of changes (with reason).
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).

I've changed to the tonsil file we usually use and new it's giving a new error, so looking into that as well.

So to be clear, there seem to be 2 issues.

  1. If the file is not found the test is not run.
  2. error generated from the file when found.

…we do not get an error; seeing if this changes that.
@RobJY RobJY self-assigned this Jan 21, 2025
@nf-core-bot
Copy link
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.1.1.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

@RobJY
Copy link
Contributor Author

RobJY commented Jan 21, 2025

Interestingly, removing checkIfExists: true from the call to file() allows the test suite to catch the error.

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