Settings#

Every setting is also read from a MANTISPY_ environment variable, and with mt.settings.override(cache_dir=...): changes one for a block.

mantispy logs through the scverse.mantispy logger, which shares its level with the other scverse packages. To set the level for all of them, use scverse_misc.logging.config.verbosity = "info", and to set it for mantispy alone, use logging.getLogger("scverse.mantispy").setLevel("INFO").

settings

Allows users to customize settings for the mantispy package.

settings.override(*[, cache_dir, ...])

Provides local override via keyword arguments as a context manager.

settings.reset(*names)

Reset passed settings to their default values.