scib_metrics._settings.ScibConfig#
- class scib_metrics._settings.ScibConfig(verbosity=20, progress_bar_style='tqdm', jax_preallocate_gpu_memory=False)[source]#
Config manager for scib-metrics.
Examples
To set the progress bar style, choose one of “rich”, “tqdm”
>>> scib_metrics.settings.progress_bar_style = "rich"
To set the verbosity
>>> import logging >>> scib_metrics.settings.verbosity = logging.INFO
Attributes table#
Jax GPU memory allocation settings. |
|
Library to use for progress bar. |
|
Verbosity level (default |
Methods table#
Fix for JAX error "No kernel image is available for execution on the device". |
|
Reset "scib_metrics" log handler to a basic RichHandler(). |