schrodinger.job.files module

schrodinger.job.files.get_file(job, filename)

Yields a filename that is readable for the lifetime of the context manager.

Parameters
  • job (schrodinger.jobcontrol.Job) – schrodinger.jobcontrol.Job

  • filename (a filename of an output or logfile for a given jobid) – a filename of an output or logfile for a given jobid

Raises

RuntimeError – if the job has been downloaded already