Class ReactionParser
java.lang.Object
de.uni_halle.informatik.biodata.mp.io.parsers.cobra.ReactionParser
-
Constructor Summary
ConstructorDescriptionReactionParser
(org.sbml.jsbml.util.ModelBuilder builder, int index, Registry registry) -
Method Summary
Modifier and TypeMethodDescriptionboolean
addResource
(String resource, org.sbml.jsbml.CVTerm term, String prefix) Tries to update a resource according to pre-defined rules.void
parse()
-
Constructor Details
-
ReactionParser
-
-
Method Details
-
parse
public void parse() -
addResource
Tries to update a resource according to pre-defined rules. If the resource starts with the MIRIAM name followed by a colon, its value is added to the given term. This method assumes that there is a colon between catalog id and resource id. If this is not the case,false
will be returned.- Returns:
true
if successful,false
otherwise.
-