Update refactor to preserve old nesting
@@ -2256,8 +2256,7 @@ class Chip:
if self.get('flowstatus', step, index, 'error'):
failed[step][index] = True
- continue
-
+ else:
for metric in self.getkeys('metric', step, index):
if 'goal' in self.getkeys('metric', step, index, metric):
goal = self.get('metric', step, index, metric, 'goal')
