cellcoloc.prepare_runtime_environmentο
- cellcoloc.prepare_runtime_environment()[source]ο
Prepare optional fallback cache locations for desktop library imports.
The function checks whether the usual per-user config and cache locations for Matplotlib, napari, and related tooling are writable. Only if a path is unavailable will it redirect the corresponding environment variable to a temporary fallback under the system temp directory.
- Return type:
dict[str,str]- Returns:
dict[str, str] β Mapping of environment variables that were redirected to fallback paths. An empty mapping means the default user locations were usable.