Open julesjacobsen opened 4 years ago
EquivalentNodesSet.representativeNodeId() is used in the unit test, but never set in the production code. The EquivalentNodesSet is only used in FromOwl:
https://github.com/geneontology/obographs/blob/f56ec1458f11e5af5b3b59581f3f4f0d24d9853a/src/main/java/org/geneontology/obographs/owlapi/FromOwl.java#L236-L239
Is this method really required as a setter? Seems it could be a default method to just choose the first if never set.
perhaps we could even remove this from the schema?
EquivalentNodesSet.representativeNodeId() is used in the unit test, but never set in the production code. The EquivalentNodesSet is only used in FromOwl:
https://github.com/geneontology/obographs/blob/f56ec1458f11e5af5b3b59581f3f4f0d24d9853a/src/main/java/org/geneontology/obographs/owlapi/FromOwl.java#L236-L239
Is this method really required as a setter? Seems it could be a default method to just choose the first if never set.