Hi All,
I'm trying to fetch the stoichiometry of the species (reactants and products) involved in every reaction
I am not able to fetch values given in SBML(L-2,V4)
<listOfReactants>
<speciesReference species="eglc" stoichiometry="1"/>
</listOfReactants>
<listOfProducts>
<speciesReference species="glc" stoichiometry="1"/>
I could obtain the species names, but reactant.getStoichiometry() doesn't work.
Could someone help? I also tried reactant.getName() and getId(). It returns none type objects though.
Here's my code
ReactionList= model.getListOfReactions()
for reaction in ReactionList:
reactionID = reaction.getId()
Reactants = reaction.getListOfReactants()
for reactant in Reactants:
print(reactant.getSpecies())