schrodinger.seam.io.textio module

class schrodinger.seam.io.textio.WriteToText(file_name: str, **kwargs)

Bases: schrodinger.seam.transforms._resources._LocalOnlyPTransform, schrodinger.seam.io.textio.WriteToText

Write a PCollection of strings to a file.

This is meant as a replacement for beam’s WriteToText transform, which is doesn’t work in the Schrodinger environment due to a multiproc requirement.