ModelSEED / Model-SEED-core

The Model SEED is a tool for building, curating, and analyzing gonome-scale metabolic models. Visit the Model SEED homepage for installation instructions and full feature documentation.
http://bionet.mcs.anl.gov/index.php/Model_SEED_Homepage
Other
19 stars 10 forks source link

bcloadmedia with -overwrite 1 doesn't clear media_compound #77

Closed mdejongh closed 13 years ago

mdejongh commented 13 years ago

I created a media and used bcloadmedia to load it. Then I removed a compound from the media file and used bcloadmedia again with -overwrite 1. There were no error messages, but the compound is still in the media_compound table.

mdejongh commented 13 years ago

Fixed 11/3/2011 by modifying loadPPOFromFile in FIGMODELmedia.pm to get the existing compounds first, then determine which of the existing compounds are no longer in the media, and delete them from the database.