Skip to content

Commit

Permalink
Update cp-worker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bethac07 authored Sep 30, 2020
1 parent 3d03417 commit 4f0a525
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions worker/cp-worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ def runCellProfiler(message):
objectsizelist=[k['Size'] for k in bucketlist['Contents']]
objectsizelist = [i for i in objectsizelist if i >= MIN_FILE_SIZE_BYTES]
if len(objectsizelist)>=int(EXPECTED_NUMBER_FILES):
logger.removeHandler(watchtowerlogger)
return 'SUCCESS'
except KeyError: #Returned if that folder does not exist
pass
Expand Down

0 comments on commit 4f0a525

Please sign in to comment.