blackened code

This commit is contained in:
Alok Saldanha
2020-08-30 13:38:35 -04:00
parent b689357f29
commit 9219336356
8 changed files with 27 additions and 13 deletions
+5 -4
View File
@@ -24,15 +24,16 @@ external_protocol = os.environ.get(
ip = os.environ.get("GATEWAY_IP")
extra_scripts = os.environ.get("GATEWAY_EXTRA_SCRIPTS")
ttl = os.environ.get("GATEWAY_TTL")
enable_upload = os.environ.get(
"GATEWAY_ENABLE_UPLOAD", ""
).lower() in ["true", "1"]
enable_upload = os.environ.get("GATEWAY_ENABLE_UPLOAD", "").lower() in [
"true",
"1",
]
enable_annotations = os.environ.get(
"GATEWAY_ENABLE_ANNOTATIONS", ""
).lower() in ["true", "1"]
enable_backed_mode = os.environ.get(
"GATEWAY_ENABLE_BACKED_MODE", ""
).lower() in ['true', '1']
).lower() in ["true", "1"]
env_vars = {
"CELLXGENE_LOCATION": cellxgene_location,