Skip to content

Commit

Permalink
ecoli read test
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskoenig committed May 28, 2018
1 parent 4bdc9f8 commit 0b34ea9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/main/java/org/cy3sbml/oven/JSBMLReadEcoli.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package org.cy3sbml.oven;

import org.sbml.jsbml.*;

import javax.xml.stream.XMLStreamException;
import java.io.File;
import java.io.IOException;


public class JSBMLReadEcoli {

public static void main(String[] args) throws XMLStreamException, IOException {

System.out.println("Read ecoli_core 1");
SBMLDocument doc = JSBML.readSBMLFromFile("/home/mkoenig/Desktop/e_coli_core.sbml");
System.out.println("Read ecoli_core 2");
doc = SBMLReader.read(new File("/home/mkoenig/Desktop/e_coli_core.sbml"));
}
}

0 comments on commit 0b34ea9

Please sign in to comment.