I tried this new version and it's a good improvement. However, it turned this: when false: let axis = parseInt(paramStr(1)) let ph = arange(0, 60*5, 5).reshape([3,4,5]) echo unwrap(ph, axis=axis, period=6) # echo diff(ph, axis=axis) # echo &"{ph=}" Run
Into this: when false: let axis = parseInt(paramStr(1)) let ph = arange(0, 60 * 5, 5).reshape([3, 4, 5]) echo unwrap(ph, axis = axis, period = 6) # echo diff(ph, axis=axis) # echo &"{ph=}" Run Which is strange. It also seems to have a tendency to move comments a bit too much (e.g. if the last line of a group of statements (without any empty lines between them) is commented out, it moves it to the top of the next group of lines.