Skip to content

Commit

Permalink
removed debugging and updated so user uploaded processed files weren'…
Browse files Browse the repository at this point in the history
…t skipped
  • Loading branch information
aschroed committed Aug 8, 2024
1 parent ee57d6c commit 837b9f0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions functions/cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,8 @@ def delete_wfrs(file_resp, my_key, workflow_details, delete=False, stash=None):
# do not delete output wfrs of control files
output_wfrs = file_resp.get('workflow_run_outputs')
if not output_wfrs:
#if file_type == 'files-processed':
# user submtted processed files but we still want to see if there is an associated errored wfr
# return
# continue
#else:
# raw files:
# user submitted and raw files generally lack wfr_outputs but they can still have
# duplicate and errored runs so changed return (for file_processed) to pass for all
pass
else:
output_wfr = output_wfrs[0]
Expand Down

0 comments on commit 837b9f0

Please sign in to comment.