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

Print a warning log when partition step fails #269

Merged
merged 2 commits into from
Aug 22, 2024
Merged

Conversation

JeanMainguy
Copy link
Member

@JeanMainguy JeanMainguy commented Aug 21, 2024

When partition step fails as in issue #262, an error occur but in a later step and the message of the partition failure is only given as a debug log making hard for the user to understand whats going on.

Now, with this PR if the partition step fails, a warning log is thrown making what's going wrong more obvious for the user.

This is a quick fix. Ideally, PPanGGOLIN should keep running even if partitioning fails, since it can still provide useful data like core and soft genomes. Implementing this behavior would take more work.This enhancement is tracked in issue #270.

@JeanMainguy JeanMainguy changed the title Raise an error when partition step fails Print a warning log when partition step fails Aug 21, 2024
@JeanMainguy JeanMainguy requested a review from jpjarnoux August 21, 2024 17:56
@jpjarnoux jpjarnoux merged commit 9abb654 into dev Aug 22, 2024
4 checks passed
@JeanMainguy JeanMainguy deleted the no_partition_management branch August 27, 2024 06:35
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