Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » jsbml-development » Problems when parsing an SBML document
Show: Today's Posts  :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
AuthorTopic
Andreas Dräger


Posts: 273
Registered:
June 2006
Problems when parsing an SBML document 30 Nov '10 00:54 Go to next message

Hello everybody,

I just tried to parse the SBML model
http://docs.u003f.com/murabito_normal.xml using JSBML. It works, but
although the SBML online validator says that besides some unit problems
this is totally proper SBML, our SBML parser displays plenty of warnings
and I don't know why we have so different results. Nico, can you please
have a look on it?

Cheers
Andreas

--
Dipl.-Bioinform. Andreas Dräger
Eberhard Karls University Tübingen
Center for Bioinformatics (ZBIT)
Sand 1
72076 Tübingen
Germany

Phone: +49-7071-29-70436
Fax: +49-7071-29-5091
____________________________________________________________
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

      
rodrigue


Posts: 307
Location:
Cambridge UK
Registered:
February 2005
Re: Problems when parsing an SBML document 30 Nov '10 01:50 Go to previous messageGo to next message

On 11/30/2010 08:54 AM, Andreas Draeger wrote:
> Hello everybody,
>
> I just tried to parse the SBML model
> http://docs.u003f.com/murabito_normal.xml using JSBML. It works, but
> although the SBML online validator says that besides some unit problems
> this is totally proper SBML, our SBML parser displays plenty of warnings
> and I don't know why we have so different results. Nico, can you please
> have a look on it?
>
I will have a look at it but our parser display some warning that we
should get rid off, yes.

Nico

____________________________________________________________
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

      
rodrigue


Posts: 307
Location:
Cambridge UK
Registered:
February 2005
Re: Problems when parsing an SBML document 30 Nov '10 02:37 Go to previous messageGo to next message

On 11/30/2010 08:54 AM, Andreas Draeger wrote:
> Hello everybody,
>
> I just tried to parse the SBML model
> http://docs.u003f.com/murabito_normal.xml using JSBML. It works, but
> although the SBML online validator says that besides some unit problems
> this is totally proper SBML,
That seems strange to me. In fact, there is no namespace on the math
element, that is why the parser
say that the math elements are not recognized.

It seems to be a bug on the libsbml validator.

> our SBML parser displays plenty of warnings
> and I don't know why we have so different results. Nico, can you please
> have a look on it?
>
Apart for the math elements warning which are normal, it seems that some
of the
cellDesigner annotation are send to the SBMLCoreParser which is a bug in
jsbml.

Nico

____________________________________________________________
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

      
rodrigue


Posts: 307
Location:
Cambridge UK
Registered:
February 2005
Re: Problems when parsing an SBML document 30 Nov '10 02:43 Go to previous messageGo to next message

On 11/30/2010 08:54 AM, Andreas Draeger wrote:
> Hello everybody,
>
> I just tried to parse the SBML model
> http://docs.u003f.com/murabito_normal.xml using JSBML. It works, but
> although the SBML online validator says that besides some unit problems
> this is totally proper SBML, our SBML parser displays plenty of warnings
> and I don't know why we have so different results. Nico, can you please
> have a look on it?
>
There is also this warning :

WARN (SBMLCoreParser.java:561) - No UnitDefinition matches the unitsID
'dimensionless'of the parameter Keqv5.

Can you have a look at it Andreas ?

Thanks,
Nico

____________________________________________________________
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

      
Andreas Dräger


Posts: 273
Registered:
June 2006
Re: Problems when parsing an SBML document 30 Nov '10 02:44 Go to previous messageGo to next message

>> http://docs.u003f.com/murabito_normal.xml using JSBML. It works, but
> There is also this warning :
>
> WARN (SBMLCoreParser.java:561) - No UnitDefinition matches the unitsID
> 'dimensionless'of the parameter Keqv5.

Yes,

I will. Please give me some time.

Andreas

--
Dipl.-Bioinform. Andreas Dräger
Eberhard Karls University Tübingen
Center for Bioinformatics (ZBIT)
Sand 1
72076 Tübingen
Germany

Phone: +49-7071-29-70436
Fax: +49-7071-29-5091
____________________________________________________________
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

      
rodrigue


Posts: 307
Location:
Cambridge UK
Registered:
February 2005
Re: Problems when parsing an SBML document 30 Nov '10 02:48 Go to previous messageGo to next message

On 11/30/2010 11:44 AM, Andreas Dräger wrote:
>>> http://docs.u003f.com/murabito_normal.xml using JSBML. It works, but
>> There is also this warning :
>>
>> WARN (SBMLCoreParser.java:561) - No UnitDefinition matches the unitsID
>> 'dimensionless'of the parameter Keqv5.
> Yes,
>
> I will. Please give me some time.
>
No rush. But I think, it is only missing from the predefinedUnit list in
the Model.

Nico

____________________________________________________________
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

      
rodrigue


Posts: 307
Location:
Cambridge UK
Registered:
February 2005
Re: Problems when parsing an SBML document 30 Nov '10 03:08 Go to previous messageGo to next message

On 11/30/2010 10:37 AM, Nicolas Rodriguez wrote:
> On 11/30/2010 08:54 AM, Andreas Draeger wrote:
>> Hello everybody,
>>
>> I just tried to parse the SBML model
>> http://docs.u003f.com/murabito_normal.xml using JSBML. It works, but
>> although the SBML online validator says that besides some unit problems
>> this is totally proper SBML,
> That seems strange to me. In fact, there is no namespace on the math
> element, that is why the parser
> say that the math elements are not recognized.
>
> It seems to be a bug on the libsbml validator.
>
>> our SBML parser displays plenty of warnings
>> and I don't know why we have so different results. Nico, can you please
>> have a look on it?
>>
> Apart for the math elements warning which are normal, it seems that some
> of the
> cellDesigner annotation are send to the SBMLCoreParser which is a bug in
> jsbml.
>
I have attached a modified model with the mathML namespace added.
It should be read properly apart for the cellDesigner annotations that
might not be complete.

Nico



Attachment: murabito_normal.xml
(Size: 566.49KB, Downloaded 222 time(s))
      
Sarah Keating


Posts: 413
Registered:
May 2004
Re: [libsbml-team] Problems when parsing an SBML document 02 Dec '10 04:12 Go to previous messageGo to next message

Nicolas Rodriguez wrote:
> On 11/30/2010 08:54 AM, Andreas Draeger wrote:
>> Hello everybody,
>>
>> I just tried to parse the SBML model
>> http://docs.u003f.com/murabito_normal.xml using JSBML. It works, but
>> although the SBML online validator says that besides some unit problems
>> this is totally proper SBML,
> That seems strange to me. In fact, there is no namespace on the math
> element, that is why the parser
> say that the math elements are not recognized.
>
> It seems to be a bug on the libsbml validator.
>

This is indeed a bug in libsbml. It checks that the math namespace has
been declared on the sbml element but does not then check that a math
element uses a prefix :-(

Thanks for spotting this.

Sarah
____________________________________________________________
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

      
Andreas Dräger


Posts: 273
Registered:
June 2006
Re: Problems when parsing an SBML document 14 Dec '10 05:37 Go to previous message

>>>> http://docs.u003f.com/murabito_normal.xml using JSBML. It works, but
>>> There is also this warning :
>>>
>>> WARN (SBMLCoreParser.java:561) - No UnitDefinition matches the unitsID
>>> 'dimensionless'of the parameter Keqv5.
>> Yes,
>>
>> I will. Please give me some time.
>>
> No rush. But I think, it is only missing from the predefinedUnit list in
> the Model.

Hello everybody,

This problem is now solved as well. The method isSetUnitsInstance() in
QuantityWithDefineUnit did not return true if the unitsID refered to a
simple base unit kind, but only if the associated model contained a
UnitDefinition with the given ID. Now it also returns true if we can
directly create an instance of Unit for the given unitsID in the
element's Level/Version combination, i.e., if an instance of Units can
be addressed by the unitsID. The warning then dissapears.

Cheers
Andreas

--
Dipl.-Bioinform. Andreas Dräger
Eberhard Karls University Tübingen
Center for Bioinformatics (ZBIT)
Sand 1
72076 Tübingen
Germany

Phone: +49-7071-29-70436
Fax: +49-7071-29-5091
____________________________________________________________
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

      
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic:ASTNode TODO
Next Topic:Serious problems when reading models with JSBML
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.