Make sure all of the onset set ids are also primary ids.
We can use a function something like this in the conversion of the small files
private boolean checkIsNotAltId(TermId tid) {
if (! ontology.getTermMap().containsKey(tid)) {
errors.add("TermId not found at all in ontology: " + tid.getIdWithPrefix());
return false;
}
TermId upToDate = ontology.getPrimaryTermId(tid);
return tid.equals(upToDate);
}
This should also be part of the Q/C check for the new V2 small files.
Make sure all of the onset set ids are also primary ids. We can use a function something like this in the conversion of the small files
This should also be part of the Q/C check for the new V2 small files.