From 003cd217f4dc9c0bc587873b644e2dad8b9fc674 Mon Sep 17 00:00:00 2001 From: Daoud Clarke Date: Mon, 18 Jul 2022 22:21:20 +0100 Subject: [PATCH] Run preprocessing --- mwmbl/background.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mwmbl/background.py b/mwmbl/background.py index 5feb064a057d3945289f66c5b5d456387a781611..515f7749d71b36ba8de15a88df8120a5d58a6ba7 100644 --- a/mwmbl/background.py +++ b/mwmbl/background.py @@ -19,10 +19,10 @@ def run(index_path: str): # retrieve_batches() # except Exception: # logger.exception("Error retrieving batches") - # try: - # run_preprocessing(index_path) - # except Exception: - # logger.exception("Error preprocessing") + try: + run_preprocessing(index_path) + except Exception: + logger.exception("Error preprocessing") try: run_update(index_path) except Exception: