From b970e9ab2ffa0c5ff371973542de4c3ebfcec39c Mon Sep 17 00:00:00 2001 From: Haibao Tang Date: Mon, 29 Apr 2024 23:41:18 -0700 Subject: [PATCH] remove unused --- jcvi/assembly/allmaps.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jcvi/assembly/allmaps.py b/jcvi/assembly/allmaps.py index a367d438..61343d70 100644 --- a/jcvi/assembly/allmaps.py +++ b/jcvi/assembly/allmaps.py @@ -194,7 +194,7 @@ def callback(tour, gen, i=0): return tour i = 0 - _, best_fitness = None, None + best_fitness = None while True: # Multiple EC rounds due to orientation fixes logger.debug("Start EC round %d", i) scaffolds_oo = dict(tour) @@ -210,7 +210,7 @@ def callback(tour, gen, i=0): logger.debug("No fitness improvement: %s. Exit EC.", best_fitness) break tour = self.fix_orientation(tour) - best_tour, best_fitness = tour, fitness + best_fitness = fitness print_tour( fwtour, self.object, tag, "GA{0}-FIXORI".format(i), tour, recode=True )