Skip to content

Commit

Permalink
Fix #67
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeluigi committed Nov 27, 2022
1 parent b43484a commit 4820f2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion backend/spellbook/variants/variants_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,11 @@ def generate_variants(job: Job = None) -> tuple[int, int, int]:
to_restore = set(k for k, v in data.uid_to_variant.items() if v.status == Variant.Status.RESTORE)
logging.info('Fetching all variant unique ids...')
old_id_set = set(data.uid_to_variant.keys())
logging.info('Computing combos MILP representation...')
logging.info('Computing combos graph representation...')
if job:
with transaction.atomic(durable=True):
job.message += f'Computing combos graph representation...\n'
job.save()
variants = get_variants_from_graph(data, job)
logging.info(f'Saving {len(variants)} variants...')
if job:
Expand Down

0 comments on commit 4820f2d

Please sign in to comment.