mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-02 09:08:13 +08:00
genesets route for local server (#2079)
* first cut at GET /genesets route * update existing tests to match code changes * more GET /genesets and initial tests * add missing test fixture * geneset validation accepts OTA format * genesets route: better error handling, more tests * lint
This commit is contained in:
@@ -46,7 +46,11 @@ def data_with_tmp_annotations(ext: MatrixDataType, annotations_fixture=False):
|
||||
|
||||
config.complete_config()
|
||||
data = MatrixDataLoader(data_locator.abspath()).open(config)
|
||||
annotations = AnnotationsLocalFile(None, annotations_file)
|
||||
anno_config = {
|
||||
"user-annotations": True,
|
||||
"genesets-save": False,
|
||||
}
|
||||
annotations = AnnotationsLocalFile(anno_config, None, annotations_file, None)
|
||||
return data, tmp_dir, annotations
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user