|
Dinasarapu, Ashok reddy wrote:
> Hi Andreas,
>
> I am sending you the file that I have to parse to get the required data.
>
>
The problem is that we use the class LocalParameter, for all level and
version of SBML, for the local parameter of a reaction.
And this class as no constant attribute, like in SBML level 3. However,
the constant attribute was always set to true for local parameter.
One simple fix is to add a check for the constant attribute in the
readAttribute method of LocalParameter and return true there to tell
the main parser that the attribute is recognized. We can check there
that the value is always true by the way, and send a warning if it is not.
One question is, do we want to write back the constant attribute to keep
the file as it was ?? If yes, we probably need to add a class attribute
to tell us if the constantAttribute was set and then add it in the
writeAttribute method.
What do people thing about that ?
Nico
> From: Dinasarapu, Ashok reddy
> Sent: Wednesday, March 30, 2011 12:29 PM
> To: 'jsbml-development@caltech.edu'
> Subject: jsbml/parsing errors
>
> Hi,
>
> I am trying parse/read SBML data file from BRENDA.
>
> There are many errors like the following, while parsing.
>
> - The attribute constant on the element parameter is not recognize. Please, check the SBML specifications
> - The attribute constant on the element parameter is not recognize. Please, check the SBML specifications
> - The attribute constant on the element parameter is not recognize. Please, check the SBML specifications
> - The attribute constant on the element parameter is not recognize. Please, check the SBML specifications
> - The attribute constant on the element parameter is not recognize. Please, check the SBML specifications
> ......
>
> Is there any wrong with the data file or library!.
>
> Regards,
> Ashok
>
> ------------------------------------------------------------------------
>
> ____________________________________________________________
> To manage your jsbml-development list subscription, visit
> https://utils.its.caltech.edu/mailman/listinfo/jsbml-development
>
> For a web interface to the jsbml-development mailing list, visit
> http://sbml.org/Forums/
>
> For questions or feedback about the jsbml-development list,
> contact sbml-team@caltech.edu
____________________________________________________________
To manage your jsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/jsbml-development
For a web interface to the jsbml-development mailing list, visit
http://sbml.org/Forums/
For questions or feedback about the jsbml-development list,
contact sbml-team@caltech.edu
|