From Chris Myers
You can create XPath expressions for LocalParameters, and you can get the Id from this expression. However, there is no function to get the ReactionId from this expression. See my attempt at one in the attached file, getReactionIdFromXPathIdentifier.
Are you talking about LocalParameters in SBML? In which case, I don't think that code that is very specific to SBML structure should be in jlibsedml, which should be model agnostic as much as possible, other than perhaps some String constants for URNs and model language identifiers for example.
Anyway if I've misunderstood please could you resend attachment?
Thanks
There is a class called SBMLSupport:
file:///Users/myers/Downloads/jlibsedml-2.2.3/javadoc/index.html
This includes methods to get Ids from XPath expressions for several common SBML elements, but it is missing a means to get the ReactionId for a LocalParameter. This is the code I wrote for this:
Similarly, I wrote code to get XPath expressions for Reactants and Products:
Related
Feature Requests: #27