Files
cellxgene/server/__init__.py
Severiano Badajoz 853976b716 release version 1.0.0 (#2466)
* Bump version: 0.19.0 → 1.0.0-rc.0

* Bump version: 1.0.0-rc.0 → 1.0.0
2021-11-02 14:53:26 -07:00

14 lines
376 B
Python

import logging
import sys
from server.common.utils.utils import import_plugins
__version__ = "1.0.0"
display_version = "cellxgene v" + __version__
try:
import_plugins("server.plugins")
except Exception as e:
# Make sure to exit in this case, as the server may not be configured as expected.
logging.critical(f"Error in import_plugins: {str(e)}")
sys.exit(1)