schrodinger.application.transforms.dofn_utils module

class schrodinger.application.transforms.dofn_utils.DataFile(path: Optional[pathlib.Path] = None)

Bases: object

A helper class for use in DoFn instances where an argument is an optional file path.

Use the writeFile method in the setup of the DoFn to write the data to local (temporary) storage.

__init__(path: Optional[pathlib.Path] = None)
writeFile(folder: pathlib.Path) Optional[str]