mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-16 13:27:59 +08:00
* Improve diffexp for tiledb - The rows from the A and B sets are gathered and processed at the same time. In this way the matrix is only accessed once instead of twice for each tile. - There is now a single thread queue that gets shared between all callers of the diffexp. This will slow down work if diffexp gets too busy. - There is a target_workunit amount of work given to each thread. Previously the workunit was (rows selected * width of tile), which could be small. Now multiple column tiles can be combined into one workunit. If the target is too small then thread and other overheads may reduce performance. If target_workunit is too large then the size of the gathered sub matrix may take up too much memory. - add configuration parameters (max_workers, cpu_multiplier, and target_workunit)
87 lines
1.2 KiB
Python
87 lines
1.2 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
|