Get mutations to save

This commit is contained in:
blitzmann
2018-06-11 23:44:34 -04:00
parent 994521f654
commit bceaa0d1d5
3 changed files with 35 additions and 19 deletions

View File

@@ -517,6 +517,13 @@ class Fit(object):
eos.db.commit()
self.recalc(fit)
def changeMutatedValue(self, mutator, value):
pyfalog.debug("Changing mutated value for {} / {}: {} => {}".format(mutator.module, mutator.module.mutaplasmid, mutator.value, value))
mutator.value = value
eos.db.commit()
#self.recalc(fit)
def appendModule(self, fitID, itemID):
pyfalog.debug("Appending module for fit ({0}) using item: {1}", fitID, itemID)
fit = eos.db.getFit(fitID)