Commit 25721e31 authored by cfrainay's avatar cfrainay
Browse files

update jsbmlReader call

parent 27dbaa7a
......@@ -35,7 +35,7 @@ public class ExtractPathways extends AbstractMet4jApplication {
public void run() throws IOException, Met4jSbmlReaderException, Met4jSbmlWriterException {
//read smbl
JsbmlReader reader = new JsbmlReader(this.inputPath, false);
JsbmlReader reader = new JsbmlReader(this.inputPath);
BioNetwork network = reader.read();
System.out.println("Number of reactions in original network: "+network.getReactionsView().size());
System.out.println("Number of species in original network: "+network.getMetabolitesView().size());
......
......@@ -53,7 +53,7 @@ public class ExtractSbmlAnnot extends AbstractMet4jApplication {
FileWriter fw = new FileWriter(outputPath);
//read smbl
JsbmlReader reader = new JsbmlReader(this.inputPath, true);
JsbmlReader reader = new JsbmlReader(this.inputPath);
BioNetwork network = reader.read();
BioCollection<? extends BioEntity> entities = new BioCollection<>();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment