Currently mokapot uses the old numpy.random functions to control random number generation. We should upgrade to using the new numpy.random.Generator interface.
Alongside this change, we should add a random_state or rng argument to much of the mokapot functionality.
Currently mokapot uses the old
numpy.random
functions to control random number generation. We should upgrade to using the newnumpy.random.Generator
interface.Alongside this change, we should add a
random_state
orrng
argument to much of the mokapot functionality.