From: Frank B. <fbergman@u.washington.edu> - 2009-01-29 18:34:17
|
> > ? The two variable glyphs carry the same attribute. But we nevertheless > need to fork them. For parameter, we should rewrite the UML with only > one glyph. > (I counted taskReference / modelReference as attributes) > >>> - changeAttribute: newValue should be of type xs:double > >> Not sure, could I - for example - change > >> > >> <listOfProducts> > >> <speciesReference species="PZ"/> > >> > >> the species (XML) attribute "PZ" to some other species, e.g. to > change > >> the product in a reaction? Could that make sense? Or would we > consider > >> that as a completely different model then? > > > > right ... you actually could do that ... this does worry me a bit ... > > i'd much rather that people would swap out whole reactions than > fiddle > > with products like that ... this seems like a sure way to create > invalid > > models ... no xs:double here then :) > > I am with Frank here. This worries me a little as well. And actually, I > remember that at one time changeAttribute was not called > changeAttribute but changeValue. It could only change a numerical > value. Then it became changeAttribute, which is actually a bit > confusing with changeXML as well. > I've double checked my implementation, and indeed I did use string for precisely the reason, that you might want to change some other attributes. Here Xpath gives us all the freedom we want, or enough rope to hang ourselves with. We could use it to set any attribute, like sbml Id, boundary conditions, constant flags, relocate species and more. The problem with this is that it might work fine for one model and cause lots of problems for another model, partly because of for example default values in SBML (and I know this is remedied by level 3). Lets create some examples first before changing the proposal, if we can come up with a valid (and useful) case for keeping non-numerical values, then perhaps it is worth keeping them. > To remove the problem and tackle the other confusions, what about > renaming the three "modification types": > > changeValue > > replaceXML > > computeValue > Let us postpone renaming the types until we find more examples. Best Frank > ? > > -- > Nicolas LE NOVERE, Computational Neurobiology, EMBL-EBI, Wellcome-Trust > Genome Campus, Hinxton CB101SD UK, Mob:+447833147074, Tel:+441223494521 > Fax:468, Skype:n.lenovere, AIM:nlenovere, MSN:nle...@ho... > http://www.ebi.ac.uk/~lenov/, http://www.ebi.ac.uk/compneur/ > > ----------------------------------------------------------------------- > ------- > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > Miase-discuss mailing list > Mia...@li... > https://lists.sourceforge.net/lists/listinfo/miase-discuss |