Files
cellxgene/server/__init__.py
Madison Dunitz af3c6e1d8e config refactor (#1854)
* split out config

* add tests for base and app config, refactor client config out of app config

* refactor default config retrieval

* create config test class and helper functions

* move default_config into server to fix import issue
2020-09-29 16:42:46 -05:00

14 lines
377 B
Python

import logging
import sys
from server.common.utils.utils import import_plugins
__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)