Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Commit 54ad7e5

Browse files
committed
Fix error from mss_size_check PR
1 parent 5829071 commit 54ad7e5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Unified/checkor.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,14 +1269,14 @@ def upward( ns ):
12691269
## pick one at random
12701270
custodial = SI.pick_SE(size=size_worth_checking)
12711271

1272-
# if custodial and size_worth_checking > tape_size_limit:
1273-
# wfi.sendLog('checkor',"The total output size (%s TB) is too large for the limit set (%s TB)"%( size_worth_checking, tape_size_limit))
1274-
# assistance_tags.add('bigoutput')
1275-
# custodial = None
1272+
if custodial and size_worth_checking > tape_size_limit:
1273+
wfi.sendLog('checkor',"The total output size (%s TB) is too large for the limit set (%s TB)"%( size_worth_checking, tape_size_limit))
1274+
assistance_tags.add('bigoutput')
1275+
custodial = None
12761276

12771277
if custodial:
12781278
for output in out_worth_checking:
1279-
if out_worth_checking[output] > tape_size_limit:
1279+
if getDatasetSize(output)/1023 > tape_size_limit:
12801280
wfi.sendLog('checkor',"%s output size (%s TB) is too large for the limit set (%s TB)"%( output, out_worth_checking[output], tape_size_limit))
12811281
assistance_tags.add('bigoutput')
12821282
custodial = None

0 commit comments

Comments
 (0)