mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-16 05:07:55 +08:00
* Add user-defined category-label colors Fixes https://github.com/chanzuckerberg/cellxgene/issues/1152 As described in https://github.com/chanzuckerberg/cellxgene/issues/1307 * Respond to feedback from @bkmartinjr in nodejs * Respond to feedback from @bkmartinjr in python * Add tests to the server module * Autoformat python, run linter * Make colors_get error handling specific * Respond to feedback from @bkmartinjr * Respond to feedback from @bkmartinjr * Fix whitespace * Fix python lint errrors * Update documentation * Add --disable-user-colors option to launch and cxgtool.py * Fix python formatting * Rename '--disable-user-colors' to '--disable-custom-colors'
93 lines
1.4 KiB
Python
93 lines
1.4 KiB
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
|
|
|
|
|
|
class ExceedsLimitError(Exception):
|
|
"""
|
|
Raised when an HTTP request exceeds a limit/quota
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class ComputeError(Exception):
|
|
"""
|
|
Raised when an error occurs during a compute algorithm (such as diffexp)
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
class ColorFormatException(Exception):
|
|
"""Raised when color helper functions encounter an unknown color format"""
|
|
|
|
pass
|