labgem / PPanGGOLiN

Build a partitioned pangenome graph from microbial genomes
https://ppanggolin.readthedocs.io
Other
242 stars 29 forks source link

Print a warning log when partition step fails #269

Closed JeanMainguy closed 2 months ago

JeanMainguy commented 2 months ago

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.