@ptrblck Thanks for the suggestion. Is there a similar trick which can be used for L84 (https://github.com/Thenerdstation/mltest/blob/master/mltest/mltest.py#L84 36). I was planning on taking the exact operation into the function, but I am not sure if that is correct practice.