schrodinger.application.matsci.transforms.utils module

Apache Beam transforms utils.

Copyright Schrodinger, LLC. All rights reserved.

schrodinger.application.matsci.transforms.utils.xcopy_to_fs(*files, output=False)

Copy file or directory to the JobFS root.

Parameters:
  • files (list[str]) – List of file or directory paths to copy to JobFS

  • output (bool) – If True, copy to the output subdirectory so the files are collected as job outputs

schrodinger.application.matsci.transforms.utils.get_local_output_path()

Return the local filesystem path corresponding to the JobFS output directory.

Return type:

str

Returns:

Local path to the output directory

schrodinger.application.matsci.transforms.utils.xcopy_from_fs(*files)

Copy file from JobFS root to the current directory.

Parameters:

files (list[str]) – List of file paths to copy to JobFS