Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
This directory provides code that cleans and reorganizes HuBMAP documents
before they go to the `portal` Elasticsearch index.

(I would be very happy if there were tests and linting across this whole repo, but for now this directory is a kingdom unto itself.
There is `.travis.yml` at the top level, but otherwise this is self-contained.)
4 changes: 3 additions & 1 deletion src/instance/app.cfg.example
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ PARAM_SEARCH_RECOGNIZED_ENTITIES_BY_INDEX = {
,'files': {
'files': None
}
}
}

DEBUG_MODE = False
1 change: 1 addition & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
config['CONSORTIUM_ID'] = app.config['CONSORTIUM_ID']
config['PARAM_SEARCH_RECOGNIZED_ENTITIES_BY_INDEX'] = app.config['PARAM_SEARCH_RECOGNIZED_ENTITIES_BY_INDEX']
config['ONTOLOGY_API_BASE_URL'] = app.config['ONTOLOGY_API_BASE_URL'].strip('/')
config['DEBUG_MODE'] = app.config['DEBUG_MODE']

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