mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-29 02:58:12 +08:00
Do not calculate layout, used saved layout instead (#343)
* Do not calculate layout, used saved layout instead See for rationale: https://docs.google.com/document/d/1HJFvbdDHxxgkCW0DZzdTZ9CUMgc2ef2rQFukATBQWvE/edit * Error handling for when layout has not been precomputed * Server error (500) not client error (400) for unprepared data
This commit is contained in:
+5
-1
@@ -460,8 +460,12 @@ Get the _default_ layout for all observations or (_future_) all variables. Retur
|
||||
}
|
||||
}
|
||||
```
|
||||
**Response code:**
|
||||
|
||||
### PUT /layout/obs, (_future_) PUT /layout/var
|
||||
- 200 - success
|
||||
- 500 Internal Server Error - unprepared data, layout has not been stored in the input data
|
||||
|
||||
### (_future_) PUT /layout/obs, (_future_) PUT /layout/var
|
||||
|
||||
Generate layout for the caller-specified subset of data, as indicated by the filter. This operation implicitly requests a re-layout operation to be performed on the specified data. This operation will _commonly_ return the same results for any given caller-specified filter, but this behavior is not guaranteed.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user