Fix the app config for reembedding and add a test (#1664)

* Fix the app config for reembedding and add a test

* Add scanpy to requirements-dev
This commit is contained in:
bmccandless
2020-07-23 12:27:53 -07:00
committed by GitHub
parent 83d572cde2
commit 0344cfacce
4 changed files with 35 additions and 5 deletions
+1 -1
View File
@@ -301,7 +301,7 @@ def layout_obs_get(request, data_adaptor):
def layout_obs_put(request, data_adaptor):
if not data_adaptor.dataset_config.embedding__enable_reembedding:
if not data_adaptor.dataset_config.embeddings__enable_reembedding:
return abort(HTTPStatus.NOT_IMPLEMENTED)
preferred_mimetype = request.accept_mimetypes.best_match(["application/octet-stream"])