reneshbedre / bioinfokit

Bioinformatics data analysis and visualization toolkit
MIT License
333 stars 77 forks source link

Change assert to warning in visuz.py #63

Open whatever60 opened 1 year ago

whatever60 commented 1 year ago

When any of significantly enriched genes, significantly depleted genes, or non-significant genes are missing, current implementation in visuz.py will throw an error.

However sometimes they could be missing. This is not biologically prohibited, and the code could handle this situation without problem.

So compared to an assertion, throwing out warning is more appropriate.