schrodinger.infra.jobhub module

This module is a wrapper for the jobhub SIP library

class schrodinger.infra.jobhub.JobCommand(cmd: str | list[str], view_name: str, launch_dir: str)

Bases: JobCommand

Subclass of the C++ JobCommand that transparently applies pythonpatch when SCHRODINGER_PYTHON_PATCH_DIR is set. The patch zip is copied to the launch directory and registered as an input file at construction time, and SCHRODINGER_PYTHON_PATCH_DIR is injected into the job environment via setEnvironment.

__init__(cmd: str | list[str], view_name: str, launch_dir: str)
setEnvironment(self, env: QProcessEnvironment)