micom-dev / micom

Python package to study microbial communities using metabolic modeling.
https://micom-dev.github.io/micom
Apache License 2.0
82 stars 17 forks source link

Improve the warning for media metabolites with a missing transport reaction #64

Closed cdiener closed 8 months ago

cdiener commented 2 years ago

Checklist

Is your feature related to a problem? Please describe it.

The warning regarding media components with missing imports is a bit too fatalistic given that it is not a real problem in most cases. See #63 for instance.

Describe the solution you would like.

Maybe change it to be a an info and only trigger a warning if a large number of metabolites can not be consumed or if there are no consumable carbon and nitrogen sources.

Describe alternatives you considered

Just changing the text of the warning, but it may still be too verbose.

Additional context

cdiener commented 8 months ago

Fixed by #143 .