tomodrgn.utils.load_pkl#

load_pkl(pkl: str) Any[source]#

Convenience function to read a binary pickle file. Only performs one read of the pickle file (so will not return multiple values if the file was created with repeated calls to pickle.dump)

Parameters:

pkl – Path to file to load from disk.

Returns:

Unpickled object.