Open syphax-bouazzouni opened 2 years ago
After uploading OEEV in Stageportal, there is no issue with the metrics
Same, the metrics came back
Need to check this, because it occurred on all portals depending on Agroportal
Ecoportal: https://github.com/lifewatch-eric/ecoportal_web_ui/issues/33 Earthportal:
The issue
We had a lot of ontologies parsed well and with METRICS status on; but the metrics were not generated. And in the logs, we see the message
generation of metrics file finished
And the ncbo script
ncbo_ontology_diagnostics.sh
detect them with a statusMETRICS_MISSING
now shown in the ontologies admin panelBut just re-running the ontology process script fixes the issue
Where does the status METRICS_MISSING comes from
The script
ncbo_ontology_diagnostics.sh
behind the scene call another script calledncbo_ontology_inspector
with the following parameters-p flat,hasOntologyLanguage,metrics,submissionStatus
The
ncbo_ontology_inspector
check for each ontology the properties specified in thep
parameter. So if the metrics property of an ontology is null, it returnsMETRICS_MISSING
Why metrics is null even if we got the
generation of metrics file finished
in logsUse case OEEV
Got parsed in 2022-02-24T16:35:11 Logs