CLI Launch (#366)

* Scanpy engine now required

Without the --engine param we need to error if scanpy engine cannot be imported rather than waiting for all engines

* CLI options and help matches proposal

(but not all options hooked up yet)

* Flesh out top level args

* Move computation args to engine

* CLI input file (#374)

* Fix test command

(tests still won't work)

* Input is file instead of directory
- also renamed example file

* Csweaver/debug (#376)

* Respect debug flag for logging flask calls

* Add loading messages

* max categories (#377)

* Add max categories

* Rename max_categories to category_selection_limit

* ensure whole numbers
This commit is contained in:
Charlotte Weaver
2018-10-24 19:28:59 -07:00
committed by GitHub
parent 02b2349807
commit 94f95d6565
9 changed files with 130 additions and 52 deletions
+3
View File
@@ -110,6 +110,9 @@ class ConfigAPI(Resource):
"displayNames": {
"engine": f"cellxgene Scanpy engine version {pkg_resources.get_distribution('cellxgene').version}",
"dataset": current_app.config["DATASET_TITLE"]
},
"parameters": {
"category_selection_limit": current_app.data.category_selection_limit
}
}
}