Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-merzky committed Mar 20, 2024
1 parent 3d6e2d0 commit e0393a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/radical/analytics/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ def utilization(self, metrics, rtype='cpu', udurations=None):
for box in provided['total'][pid]:
stats_abs['total'] += (box[1] - box[0]) * \
(box[3] - box[2] + 1)
total = (max(stats_abs['total'], 1)
total = (max(stats_abs['total'], 1))

for metric in metrics:
if isinstance(metric, list):
Expand Down

0 comments on commit e0393a7

Please sign in to comment.