Skip to content

Commit

Permalink
Fixing the hedschema caching issue for services
Browse files Browse the repository at this point in the history
  • Loading branch information
VisLab committed Jun 23, 2022
1 parent 60cb89c commit 905b3ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hedweb/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ def services_results():

try:
hedschema.set_cache_directory(current_app.config['HED_CACHE_FOLDER'])
hedschema.cache_xml_versions()
print(f"Current folder is {current_app.config['HED_CACHE_FOLDER']}")
arguments = services.get_input_from_request(request)
response = services.process(arguments)
return json.dumps(response)
Expand Down

0 comments on commit 905b3ff

Please sign in to comment.