Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
test_transformation isn't thread save and coverage fluctuates #1449
Running test_transformations should always result in the same coverage. Independent of the number of processes used.
Coverage fluctuates on different runs. We see that sometimes we get a decrease in coverage and it's always on the transformation files. The problem is that we use random number on these tests and neither the pure python nor the c version is thread save.
To fix it we always need to give the functions a fixed random number as the
Currently version of MDAnalysis: