Micom

Latest version: v0.37.0

Safety actively analyzes 688578 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 10

0.37.0

**Visualizations**

`plot_exchanges_per_taxon` and `plot_growth` now allow to color points by arbitrary
(categorical) metadata similar to `plot_mes`.

0.36.4

Fix a bug in `check_db_medium` where the growth rate order was random.

Do not overwrite the handlers for the root logger anymore but attach the handler to
a package logger instead.

0.36.3

Require a newer optlang version to stay compatible with numpy 2.0.

0.36.2

Limit logger default change to workflows only.

Make some attempts to clean the taxon name in interactions.

Workflows accepting per sample media will now raise an error if the medium is missing
samples.

0.36.1

Fixes a crash in the `minimal_media` workflow when growth rates are infeasible.

Changed the default log level to ERROR to avoid message spamming in the workflows. This
can be re-enabled with:

python
from micom.logger import logger
logger.setLevel("WARNING")

0.36.0

**Minimal media workflow**

The minimal media workflow is now more flexible and supports all options of the
`minimal_media` base function including:

- specification of a required community growth rate, taxon growth rates, or any combination
- support for minimizing the number of media metabolites
- support for weights allowing to minimize mass uptake, carbon uptake etc.
- returning the growth results obtained by the media minimization

**Growth Results**

`GrowthResults` is now a DataClass and gains some new helpers:

- combining two GrowthResults via the addition operator (`r1 + r2`)
- concatenating many growth results via `combine_results`
- converting a `CommunitySolution` to a growth results object

**Other**

Renamed `fix_medium` to `complete_db_medium` for consistency with `complete_db_medium`
and to make it more clear what is happening.

Some black style fixes across the code base.

Updated optlang version for better numpy support.

Fix a bug where `minimal_medium(manifest, ..., summarize=False)` would crash.

Page 1 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.