mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-29 08:48:11 +08:00
Fix error message when datapath and dataroot are not provided (#1746)
* Fix error message when datapath and dataroot are not provided Previously: $ cellxgene launch cellxgene] Starting the CLI... AttributeError: 'NoneType' object has no attribute 'startswith' With this fix: $ cellxgene launch [cellxgene] Starting the CLI... Error: missing datapath * lint
This commit is contained in:
+2
-1
@@ -102,7 +102,8 @@ class WSGIServer(Server):
|
||||
|
||||
# It is _very_ difficult to generate the correct hash manually,
|
||||
# consider forcing CSP to fail on the local server by intercepting the response via Requestly
|
||||
# this should print the failing script's hash to console. See more here: https://github.com/chanzuckerberg/cellxgene/pull/1745
|
||||
# this should print the failing script's hash to console.
|
||||
# See more here: https://github.com/chanzuckerberg/cellxgene/pull/1745
|
||||
obsolete_browser_script_hash = ["'sha256-/rmgOi/skq9MpiZxPv6lPb1PNSN+Uf4NaUHO/IjyfwM='"]
|
||||
csp = {
|
||||
"default-src": ["'self'"],
|
||||
|
||||
Reference in New Issue
Block a user