From: Angel P. <an...@pc...> - 2004-11-19 22:24:09
|
Jeetendra Soneja wrote: >Steve, > > I'm referring to the last case in the list that Angel mentioned. It >deletes the feature if it is in Db but not in the file. We have a >scenario where new features are predicted and uploaded in different >steps. Thus, while uploading the new features predicted in later >steps, we don't want the features uploaded during previous steps to >be deleted. > > --Jeetendra. > > > Not that hard to fix. Add this line (assuming $flag is your new option) to line 1106 next if ($flag); This will skip the deletion step in the if {} else{} block -angel > > > >>Jeetendra- >> >>I just talked to Angel who wrote this parser a long time ago. >> >>He says that the parser is supposed to: >> - match the existing features in the db against the new ones mentioned >>in the gb file >> - if a feature is in the file but not in the db, it adds the feature >> - if the feature is in both, it leaves the feature alone >> - if the feature is in the db but not in the file, it deletes it. >> >>is this not what you are observing? >> >>steve >> >>Jeetendra Soneja wrote: >> >> >> >>>Hi all, >>> >>>When we try to upload an existing sequence (and features) using the >>>GBParser, it updates the features of that sequence, i.e. it removes the >>>old and inserts the new ones. >>> >>>However, is there a way to just ADD features (of any type) to the >>>existing >>>sequence in the GUS DB ? >>> >>>Thanks a lot for your help, >>>Jeetendra. >>> >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >>>Use IT products in your business? Tell us what you think of them. Give us >>>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out >>>more >>>http://productguide.itmanagersjournal.com/guidepromo.tmpl >>>_______________________________________________ >>>Gusdev-gusdev mailing list >>>Gus...@li... >>>https://lists.sourceforge.net/lists/listinfo/gusdev-gusdev >>> >>> >>> >>> > > > > |