read_and_reset

pylluminator.read_idat.read_and_reset(inner)

Decorator that resets a file-like object back to the original position after the function has been called.

Parameters:

inner (file-like) – file to read and reset