mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-30 15:18:12 +08:00
tighten up error reporting (#1269)
* black reformat * tighten up error reporting * lint * fine tuning * additional improvements in exception handling * lint * include exception and traceback in log * fix typo
This commit is contained in:
@@ -15,7 +15,7 @@ def get_scanpy_module():
|
||||
raise NotImplementedError("Please install scanpy to enable UMAP re-embedding")
|
||||
except Exception as e:
|
||||
# will capture other ImportError corner cases
|
||||
raise NotImplementedError(str(e))
|
||||
raise NotImplementedError() from e
|
||||
|
||||
|
||||
def scanpy_umap(adata, obs_mask=None, pca_options={}, neighbors_options={}, umap_options={}):
|
||||
|
||||
Reference in New Issue
Block a user