| Author | Topic |
Posts: 88
Registered: December 2007
|
|
Re: simple question about adding a species
|
22 Jan '09 01:24

|
 |
|
Hi Alejandro,
Your explanation is clear - thanks. I think it will actually lead me to a
solution. The first responder mentioned how you can add duplicate species.
You have added that you've noticed that an update or removal of a species
doesn't affect the rest of the model, and that this must all be done
manually. While I agree that this is a pain, it does mean that one solution
for my problem would be:
1. get a copy of the original species with getSpecies (id)
2. modify it locally
3. delete the original species from the model completely
4. add the modified species to the model
Since you say deleting a species doesn't affect everything it's linked to
(my original worry) then I can happily delete and then immediately add back.
Thanks for your help! :)
2009/1/21 Alejandro <hadeshell@gmail.com>
>
> Hello.
>
> When you add a new specie with the same id that an existant specie, it
> doesn't detect it and add two species with the same id (and 3,4...infinite)
> I think it could be solved using Exception throwing. (to catch the problem
> and solve in code on a easy way).
>
> Another Problem (in my point of view) is when you delete, or change the ID
> of an existant specie. it doesnt erase or refresh this specie of the species
> reference list (of a reaccion for example), and also occurs when a specie is
> referenced in a kineticLaw.
>
> is my anwser able to solve your question?
>
> Sorry for my English :) I'm untrained.
>
> Cheers,
> Alejandro
> ____________________________________________________________
> To manage your sbml-interoperability list subscription, visit
> https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability
>
> For a web interface to the sbml-interoperability mailing list, visit
> http://sbml.org/Forums/
>
> For questions or feedback about the sbml-interoperability list,
> contact sbml-team@caltech.edu
>
--
Allyson Lister
http://lurena.vox.com
CISBAN, http://www.cisban.ac.uk
Newcastle University
____________________________________________________________
To manage your sbml-interoperability list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/sbml-interoperability
For a web interface to the sbml-interoperability mailing list, visit
http://sbml.org/Forums/
For questions or feedback about the sbml-interoperability list,
contact sbml-team@caltech.edu
|
|
|