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

Bugfix/several runtime issues #46

Open
wants to merge 24 commits into
base: dev
Choose a base branch
from

Conversation

mberacochea
Copy link
Member

@mberacochea mberacochea commented Sep 27, 2024

Fixed some runtime issues with Prokka, AMRFinder, and CRISPRCasFinder.

The problem with CRISPRCasFinder was that it attempted to mv files while the app was still running, had the file open, or while the shared filesystem was still using the file. I forked the repository and replaced the mv statements with cp, which resolved the issue. I will submit a PR to the repository. In the meantime, we will need to rely on a custom container I've built.

This update also includes changes to the linting tools and pre-commit configurations.

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!
  • Make sure your code lints (nf-core lint).

tgurbich and others added 11 commits April 16, 2024 15:04
Dev -> main for release v1.3
…nder.

These tools are very picky with the tmp directory, so I've implemented a workaround
using a "tmp" directory in the process workdir.
- Removed the custom python container with a seqera container one (retry and requests)
- Removed the custom python container with the biocontainers python one when possible
- Added the singularity image to the containers on those modules that was possible
- Added ruff, black and some other base pre-commit
- Migrated the python unit tests to pytest and fixed them
- Ran ruff and black on the scripts

I am testing all this ATM.
Copy link

github-actions bot commented Sep 27, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit e3e1635

+| ✅ 158 tests passed       |+
#| ❔  31 tests were ignored |#
!| ❗   5 tests had warnings |!

❗ Test warnings:

  • nextflow_config - Config manifest.version should end in dev: 1.3
  • pipeline_todos - TODO string in ci.yml: You can customise CI pipeline run tests as required
  • schema_lint - Schema $schema should be http://json-schema.org/draft-07/schema
    Found https://json-schema.org/draft-07/schema
  • system_exit - System.exit in main.nf: System.exit(1) [line 47]
  • nfcore_yml - nf-core version not set in .nf-core.yml

❔ Tests ignored:

  • files_exist - File is ignored: CODE_OF_CONDUCT.md
  • files_exist - File is ignored: CHANGELOG.md
  • files_exist - File is ignored: assets/nf-core-mettannotator_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-mettannotator_logo_light.png
  • files_exist - File is ignored: docs/images/nf-core-mettannotator_logo_dark.png
  • files_exist - File is ignored: .github/ISSUE_TEMPLATE/config.yml
  • files_exist - File is ignored: conf/test_full.config
  • files_exist - File is ignored: docs/output.md
  • files_exist - File is ignored: docs/README.md
  • files_exist - File is ignored: docs/usage.md
  • files_exist - File is ignored: conf/igenomes.config
  • files_exist - File is ignored: .github/workflows/awstest.yml
  • files_exist - File is ignored: .github/workflows/awsfulltest.yml
  • files_exist - File is ignored: .github/workflows/ci.yml
  • files_exist - File is ignored: lib/Utils.groovy
  • files_exist - File is ignored: lib/WorkflowMain.groovy
  • files_exist - File is ignored: lib/NfcoreTemplate.groovy
  • files_exist - File is ignored: lib/WorkflowMettannotator.groovy
  • nextflow_config - Config variable ignored: manifest.name
  • nextflow_config - Config variable ignored: manifest.homePage
  • files_unchanged - File ignored due to lint config: CODE_OF_CONDUCT.md
  • files_unchanged - File ignored due to lint config: LICENSE or LICENSE.md or LICENCE or LICENCE.md
  • files_unchanged - File ignored due to lint config: .github/ISSUE_TEMPLATE/bug_report.yml
  • files_unchanged - File does not exist: .github/ISSUE_TEMPLATE/config.yml
  • files_unchanged - File ignored due to lint config: .github/workflows/linting.yml
  • files_unchanged - File ignored due to lint config: assets/nf-core-mettannotator_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-mettannotator_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-mettannotator_logo_dark.png
  • files_unchanged - File does not exist: docs/README.md
  • files_unchanged - File ignored due to lint config: .gitignore or .prettierignore
  • actions_awstest - 'awstest.yml' workflow not found: /home/runner/work/mettannotator/mettannotator/.github/workflows/awstest.yml

✅ Tests passed:

Run details

  • nf-core/tools version 2.14.1
  • Run at 2024-11-12 09:51:15

@mberacochea mberacochea changed the base branch from main to dev September 27, 2024 10:50
@mberacochea mberacochea self-assigned this Sep 27, 2024
@mberacochea mberacochea marked this pull request as ready for review September 27, 2024 11:11
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