ModelSEED/Model-SEED-core — Issue #86: Overwrite option in mdl-importmodel not truly working for biochemistry
Author: samseaver
Created: 2011-11-06 03:31:41+00:00
State: open

If you use the overwrite option then the ClearModelProvenance option in FIGMODELmodel::GenerateModelProvenance is set to '1', as it should. When re-creating the biochemistry files, the code calls from the ppo() (you again?) object. However, it seems that the lines from the original biochemistry files are already loaded into the ppo() object before they are deleted.

This means that the original biochemistry is still preserved, and actually appended to the newly created files. This is especially pertinent when I want to start a model from scratch, without using any previously-used biochemistry from a different model. However, the biochemistry from the previous model re-appears.