Skip to content

Commit caa8dce

Browse files
authored
Merge pull request #947 from hubmapconsortium/Derek-Furst/debug-configuration
Derek furst/debug configuration
2 parents 0882613 + 668c5ed commit caa8dce

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/instance/app.cfg.example

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ PARAM_SEARCH_RECOGNIZED_ENTITIES_BY_INDEX = {
2727
,'files': {
2828
'files': None
2929
}
30-
}
30+
}
31+
32+
DEBUG_MODE = False

src/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
config['CONSORTIUM_ID'] = app.config['CONSORTIUM_ID']
3232
config['PARAM_SEARCH_RECOGNIZED_ENTITIES_BY_INDEX'] = app.config['PARAM_SEARCH_RECOGNIZED_ENTITIES_BY_INDEX']
3333
config['ONTOLOGY_API_BASE_URL'] = app.config['ONTOLOGY_API_BASE_URL'].strip('/')
34+
config['DEBUG_MODE'] = app.config['DEBUG_MODE']
3435

3536
if not config['ONTOLOGY_API_BASE_URL']:
3637
raise Exception(f"Unable retrieve ontology information using"

0 commit comments

Comments
 (0)