joeyisgoed commited on
Commit
5942687
·
verified ·
1 Parent(s): 88d8634

Upload optimizer.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. optimizer.py +1 -1
optimizer.py CHANGED
@@ -409,6 +409,6 @@ def optimize_sequence(sequence: str, organism: str = "Escherichia coli K12",
409
  use_nsga3 = False
410
 
411
  if not use_nsga3:
412
- iterations = {"fast": 500, "standard": 1000, "thorough": 2000}.get(quality, 1000)
413
  optimizer = SimpleOptimizer(organism, excluded_sites)
414
  return optimizer.optimize(sequence, is_protein, iterations)
 
409
  use_nsga3 = False
410
 
411
  if not use_nsga3:
412
+ iterations = {"fast": 1000, "standard": 3000, "thorough": 5000}.get(quality, 3000)
413
  optimizer = SimpleOptimizer(organism, excluded_sites)
414
  return optimizer.optimize(sequence, is_protein, iterations)