mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-17 05:47:58 +08:00
* Introduce a config file to cellxgene The config file format is in yaml. The default config is located in server/common/default_config.py. A user may create a yaml file that contains a subset of these fields. It can be used during cellxgene launch, or for hosted cellxgene. The code has also been refactored. Much of the logic to check arguments has moved from launch to app config. It is now possible to set the tiledb context parameters using the config file. Other feature will soon be handled in a similar way.
71 lines
1020 B
Python
71 lines
1020 B
Python
class FilterError(Exception):
|
|
"""
|
|
Raised when filter is malformed
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class JSONEncodingValueError(Exception):
|
|
"""
|
|
Raised when data cannot be encoded into json
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class MimeTypeError(Exception):
|
|
"""
|
|
Raised when incompatible MIME type selected
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class PrepareError(Exception):
|
|
"""
|
|
Raised when data is misprepared
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class DatasetAccessError(Exception):
|
|
"""
|
|
Raised when file loaded into a DataAdaptor is misformatted
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class DisabledFeatureError(Exception):
|
|
"""
|
|
Raised when an attempt to use a disabled feature occurs
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class AnnotationsError(Exception):
|
|
"""
|
|
Raised when an attempt to use the annotations feature fails
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class OntologyLoadFailure(Exception):
|
|
"""
|
|
Raised when reading the ontology file fails
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class ConfigurationError(Exception):
|
|
"""
|
|
Raised when checking configuration errors
|
|
"""
|
|
|
|
pass
|