Skip to content

Commit

Permalink
Merge pull request #878 from hubmapconsortium/yuanzhou/update-submodule
Browse files Browse the repository at this point in the history
Update submodule ref and add CONSORTIUM_ID
  • Loading branch information
yuanzhou authored Sep 19, 2024
2 parents df8698d + fe1bbc5 commit c4a74c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/instance/app.cfg.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ LARGE_RESPONSE_THRESHOLD = 9*(2**20) + 900*(2**10) #9.9Mb
# Base URL for the Ontology API
ONTOLOGY_API_BASE_URL = 'https://ontology-api.dev.hubmapconsortium.org'

CONSORTIUM_ID = 'hubmap_id'
PARAM_SEARCH_RECOGNIZED_ENTITIES_BY_INDEX = {
'entities': {
'datasets': 'dataset'
Expand Down
1 change: 1 addition & 0 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
config['AWS_S3_OBJECT_PREFIX'] = app.config['AWS_S3_OBJECT_PREFIX']
config['AWS_OBJECT_URL_EXPIRATION_IN_SECS'] = app.config['AWS_OBJECT_URL_EXPIRATION_IN_SECS']
config['LARGE_RESPONSE_THRESHOLD'] = app.config['LARGE_RESPONSE_THRESHOLD']
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('/')

Expand Down
2 changes: 1 addition & 1 deletion src/search-adaptor
Submodule search-adaptor updated 2 files
+1 −1 VERSION
+4 −4 src/app.py

0 comments on commit c4a74c7

Please sign in to comment.