Skip to content
Snippets Groups Projects
Commit 325a654a authored by Maximilian Gruber's avatar Maximilian Gruber
Browse files

undo debugging shortcuts

parent 588a8ad3
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ def cocal_task(db: Session = Depends(get_db), hash = hash): ...@@ -59,7 +59,7 @@ def cocal_task(db: Session = Depends(get_db), hash = hash):
cocal = cocal_methods.CocalMethods(cocal_session) cocal = cocal_methods.CocalMethods(cocal_session)
# record reference # record reference
#cocal.record_and_save_reference() cocal.record_and_save_reference()
# wait for user upload to finish # wait for user upload to finish
upload_is_ready = cocal.wait_for_user_upload(timeout=20) upload_is_ready = cocal.wait_for_user_upload(timeout=20)
...@@ -68,12 +68,10 @@ def cocal_task(db: Session = Depends(get_db), hash = hash): ...@@ -68,12 +68,10 @@ def cocal_task(db: Session = Depends(get_db), hash = hash):
if upload_is_ready: if upload_is_ready:
# do the necessary calculations # do the necessary calculations
cocal.perform_dummy_computations() cocal.perform_computations() # perform_dummy_computations
# cocal.perform_computations()
# generate (dummy) DCC # generate (dummy) DCC
# cocal.generate_dummy_dcc() cocal.generate_dcc() # generate_dummy_dcc
cocal.generate_dcc()
# release state # release state
crud.set_status(db, name="general", state="ready") crud.set_status(db, name="general", state="ready")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment