Hi all
I get an error when generating a new SBML file from an edited project in Optflux.
"Type of error: IllegalArgumentException
Back trace:
org.sbml.jsbml.AbstractSBase.registerChild(AbstractSBase.java:1596)
org.sbml.jsbml.ListOf.add(ListOf.java:397)
org.sbml.jsbml.Model.addReaction(Model.java:517)
container.io.writers.JSBMLWriter.loadReactions(JSBMLWriter.java:501)
container.io.writers.JSBMLWriter.createModel(JSBMLWriter.java:251)
container.io.writers.JSBMLWriter.toSBML(JSBMLWriter.java:283)
container.io.writers.JSBMLWriter.writeToFile(JSBMLWriter.java:152)
optflux.simulation.operations.export.Export2SBML.execute(Export2SBML.java:102)
optflux.simulation.operations.export.Export2SBML.setEnvironmentalConditions(Export2SBML.java:79)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
es.uvigo.ei.aibench.core.operation.execution.SimpleIncomingEndPoint$1.call(SimpleIncomingEndPoint.java:106)
java.util.concurrent.FutureTask.run(Unknown Source)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)"
Not sure if it helps in any way, but that is the error I get.
Cheers
Carla
Anonymous
Hi Carla,
Thank you for the report. Could you export the project and attach it here?
It would be easier to find and solve the problem if you could do that.
Again, thank you.
Hi Carla,
I guess we found the source of the problem when exporting the model to SBML.
This occur when the model/project that you are using in the OptFlux has duplicated reactions/metabolites.
We will try to find a way to prevent this kind of problem.
Good work and thank you.