this is done repetitively since once the Jumps are cleaned there could be new Repeats and the other way round. So I use it in a for loop. I can always do this excessively (setting i to a high number) but it is inefficient.

Any suggestions to improve the loop so it stops when there are no repeats of Jumps?

The overall script looks like this:

dt =New Table("Log File", Add Rows(500));

dt <<New Column("Temperature",

Set Property("Value Colors",{1=-13977687,2=-3780931,3=-4222943,4=-13596966,5=-2211217}),