Some tox fixes

This commit is contained in:
blitzmann
2018-09-15 19:25:37 -04:00
parent b08406b7d6
commit 621672bf34
96 changed files with 90 additions and 334 deletions

View File

@@ -39,10 +39,10 @@ from service.damagePattern import DamagePattern
from service.settings import SettingsProvider
from utils.deprecated import deprecated
import wx
from service.fitDeprecated import FitDeprecated
pyfalog = Logger(__name__)
from service.fitDeprecated import FitDeprecated
class DeferRecalc():
def __init__(self, fitID):
@@ -359,9 +359,6 @@ class Fit(FitDeprecated):
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

View File

@@ -44,7 +44,7 @@ class FitDeprecated(object):
old_name = fit.name
fit.name = newName
eos.db.commit()
return old_name, newName
return old_name, newName
@deprecated
def toggleDrone(self, fitID, i):