Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » jsbml-development » Unsetting substance units in Model
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Andreas Dräger


Posts: 273
Registered:
June 2006
Re: Unsetting substance units in Model 19 Mar '12 00:22 Go to previous message

Dear Robert,
> I notice that there is no unsetSubstanceUnits() method in the Model class, while all the other units have unset methods.
>
> Is there a reason for this? If there is, then do we deal with this by setting the model substance units to an empty string?
>
>

Thank you for reporting this! It was simply forgotten to implement the
unsetSubstanceUnits() method on model. I just added it. With my next
commit it will be part of JSBML. For now, you can use

setSubstanceUnits((String) null);

that does exactly the same.

Cheers
Andreas

--
Dr. Andreas Dräger
University of Tuebingen
Center for Bioinformatics Tuebingen (ZBIT)
Sand 1
72076 Tübingen
Germany

Phone: +49-7071-29-78982
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

      

SubjectPosterDate
Read Message   Unsetting substance units in Model rbyrnes16 Mar '12 10:37
Read Message   Re: Unsetting substance units in Model  Andreas Dräger19 Mar '12 00:22
Previous Topic:Units inheritance in Level 3
Next Topic:Inclusion of SBML package parsers
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.