nebius/SWE-rebench-V2-PRs huggingface dataset:
Repository: ontodev/robot
Pull request #934 (2021-11-18 17:48:21)

Update OBOgraphs JSON
Resolves [#933]

- [ ] `docs/` have been added/updated
- [ ] tests have been added/updated
- [ ] `mvn verify` says all tests pass
- [ ] `mvn site` says all JavaDocs correct
- [ ] `CHANGELOG.md` has been updated

a new version of obographs added to ROBOT..



Patch:
diff --git a/robot-core/pom.xml b/robot-core/pom.xml
index 93e0036d..6031464a 100644
--- a/robot-core/pom.xml
+++ b/robot-core/pom.xml
@@ -202,9 +202,9 @@
       </exclusions>
     </dependency>
     <dependency>
-      <groupId>org.geneontology</groupId>
-      <artifactId>obographs</artifactId>
-      <version>0.2.1</version>
+      <groupId>org.geneontology.obographs</groupId>
+      <artifactId>obographs-owlapi</artifactId>
+      <version>0.3.0</version>
       <exclusions>
         <exclusion>
           <groupId>net.sourceforge.owlapi</groupId>
diff --git a/robot-core/src/main/java/org/obolibrary/robot/IOHelper.java b/robot-core/src/main/java/org/obolibrary/robot/IOHelper.java
index e964d0b6..b49260b1 100644
--- a/robot-core/src/main/java/org/obolibrary/robot/IOHelper.java
+++ b/robot-core/src/main/java/org/obolibrary/robot/IOHelper.java
@@ -29,10 +29,10 @@ import org.apache.jena.rdf.model.ModelFactory;
 import org.apache.jena.riot.RDFDataMgr;
 import org.apache.jena.shared.JenaException;
 import org.apache.jena.tdb.TDBFactory;
-import org.geneontology.obographs.io.OboGraphJsonDocumentFormat;
-import org.geneontology.obographs.io.OgJsonGenerator;
-import org.geneontology.obographs.model.GraphDocument;
+import org.geneontology.obographs.core.io.OgJsonGenerator;
+import org.geneontology.obographs.core.model.GraphDocument;
 import org.geneontology.obographs.owlapi.FromOwl;
+import org.geneontology.obographs.owlapi.OboGraphJsonDocumentFormat;
 import org.obolibrary.obo2owl.OWLAPIOwl2Obo;
 import org.obolibrary.oboformat.model.FrameStructureException;
 import org.obolibrary.oboformat.model.OBODoc;


Test patch:
diff --git a/robot-core/src/test/java/org/obolibrary/robot/IOHelperTest.java b/robot-core/src/test/java/org/obolibrary/robot/IOHelperTest.java
index c3113814..1550b0b4 100644
--- a/robot-core/src/test/java/org/obolibrary/robot/IOHelperTest.java
+++ b/robot-core/src/test/java/org/obolibrary/robot/IOHelperTest.java
@@ -13,7 +13,7 @@ import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Map;
 import java.util.Set;
-import org.geneontology.obographs.io.OboGraphJsonDocumentFormat;
+import org.geneontology.obographs.owlapi.OboGraphJsonDocumentFormat;
 import org.junit.Test;
 import org.semanticweb.owlapi.formats.RDFXMLDocumentFormat;
 import org.semanticweb.owlapi.model.IRI;