mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-29 06:28:12 +08:00
update for the legal configuration options (#1281)
* Configuration for legal information
This commit is contained in:
@@ -231,7 +231,6 @@ def launch_args(func):
|
||||
"--config-file",
|
||||
"-c",
|
||||
"config_file",
|
||||
is_flag=True,
|
||||
default=None,
|
||||
show_default=True,
|
||||
help="Location to yaml file with configuration settings",
|
||||
|
||||
@@ -50,6 +50,8 @@ class AppConfig(object):
|
||||
self.server__port = dc["server"]["port"]
|
||||
self.server__scripts = dc["server"]["scripts"]
|
||||
self.server__open_browser = dc["server"]["open_browser"]
|
||||
self.server__about_legal_tos = dc["server"]["about_legal_tos"]
|
||||
self.server__about_legal_privacy = dc["server"]["about_legal_privacy"]
|
||||
self.multi_dataset__dataroot = dc["multi_dataset"]["dataroot"]
|
||||
self.multi_dataset__index = dc["multi_dataset"]["index"]
|
||||
self.multi_dataset__allowed_matrix_types = dc["multi_dataset"]["allowed_matrix_types"]
|
||||
@@ -401,6 +403,8 @@ class AppConfig(object):
|
||||
"annotations_cell_ontology_obopath": None,
|
||||
"annotations_cell_ontology_terms": None,
|
||||
"diffexp-may-be-slow": False,
|
||||
"about_legal_tos": self.server__about_legal_tos,
|
||||
"about_legal_privacy": self.server__about_legal_privacy,
|
||||
}
|
||||
|
||||
data_adaptor.update_parameters(parameters)
|
||||
|
||||
@@ -10,6 +10,8 @@ server:
|
||||
port : null
|
||||
scripts : []
|
||||
open_browser: false
|
||||
about_legal_tos: null
|
||||
about_legal_privacy: null
|
||||
|
||||
presentation:
|
||||
max_categories: 1000
|
||||
|
||||
Reference in New Issue
Block a user