When a new submission is created .csv.gz file is removed from the previous submission before the latest submission gets parsed and becomes ready. Downloading ontology in csv format will results in 500 error until latest submission is successfully parsed.
see https://github.com/ncbo/ontologies_api/issues/123
This problem is usually not noticeable because latest submission typically gets parsed within a few minutes after it is created. However, in some edge cases this becomes a problem:
adding an a new UMLS release can take multiple days so downloads of csv is broken at that time.
if latest ontology fails to parse then downloads of csv files will result in error even though it is possible to browse ontology classes in the UI
possible solutions:
delay removing artifacts for previous submissions until after the latest submission is successfully parsed
at the bare minimum api should respond with 404 status instead of 500.
When a new submission is created
.csv.gz
file is removed from the previous submission before the latest submission gets parsed and becomes ready. Downloading ontology in csv format will results in 500 error until latest submission is successfully parsed. see https://github.com/ncbo/ontologies_api/issues/123This problem is usually not noticeable because latest submission typically gets parsed within a few minutes after it is created. However, in some edge cases this becomes a problem:
possible solutions: