Files
cellxgene/server/__init__.py
maniarathi 263e893b30 Revert "Patching (#1744)" (#1748)
This reverts commit 6848f7a8b2.
2020-08-14 11:22:39 -07:00

14 lines
371 B
Python

from server.common.utils import import_plugins
import logging
import sys
__version__ = "0.16.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)