Skip to content

Add trycatch to enrichment plots#256

Merged
WackerO merged 3 commits intoqbic-pipelines:devfrom
WackerO:trycatch_enrich
Dec 10, 2024
Merged

Add trycatch to enrichment plots#256
WackerO merged 3 commits intoqbic-pipelines:devfrom
WackerO:trycatch_enrich

Conversation

@WackerO
Copy link
Copy Markdown
Contributor

@WackerO WackerO commented Dec 9, 2024

For pathway analyses where many pathways are enriched, the ggsave function throws an error when trying to save the enrichment plots. This PR adds trycatches to allow the pipeline to continue; the plots are in such a case not saved

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 pipeline conventions in the contribution docs
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

Copy link
Copy Markdown

@mapo9 mapo9 left a comment

Choose a reason for hiding this comment

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

lgtm

@WackerO WackerO merged commit 7eeee20 into qbic-pipelines:dev Dec 10, 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