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").
Allows users to customize settings for the |
|
|
Provides local override via keyword arguments as a context manager. |
|
Reset passed settings to their default values. |