From 325a654a1594806c7c6742f58c6e544a2ca75b9a Mon Sep 17 00:00:00 2001
From: Maximilian Gruber <maximilian.gruber@ptb.de>
Date: Thu, 25 Jan 2024 15:41:08 +0100
Subject: [PATCH] undo debugging shortcuts

---
 app/main.py | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/app/main.py b/app/main.py
index 5c98adb..0151dbe 100644
--- a/app/main.py
+++ b/app/main.py
@@ -59,7 +59,7 @@ def cocal_task(db: Session = Depends(get_db), hash = hash):
     cocal = cocal_methods.CocalMethods(cocal_session)
 
     # record reference
-    #cocal.record_and_save_reference()
+    cocal.record_and_save_reference()
 
     # wait for user upload to finish
     upload_is_ready = cocal.wait_for_user_upload(timeout=20)
@@ -68,12 +68,10 @@ def cocal_task(db: Session = Depends(get_db), hash = hash):
     if upload_is_ready:
         
         # do the necessary calculations
-        cocal.perform_dummy_computations()
-        # cocal.perform_computations()
+        cocal.perform_computations() # perform_dummy_computations
 
         # generate (dummy) DCC
-        # cocal.generate_dummy_dcc()
-        cocal.generate_dcc()
+        cocal.generate_dcc() # generate_dummy_dcc
 
         # release state
         crud.set_status(db, name="general", state="ready")
-- 
GitLab