schrodinger.application.pymol.utils module

schrodinger.application.pymol.utils.get_pymol_scripts_dir() str

Return the path to the $SCHRODINGER/mmshare-*/python/scripts/pymol_scripts directory.

Returns

Path to the “pymol_scripts” directory.

schrodinger.application.pymol.utils.get_pymol_location_preference() Optional[str]

Returns the pymol location saved in SCRIPTS.xml :return result: pymol location preference

schrodinger.application.pymol.utils.get_default_pymol_location() str
Returns the default pymol location
  1. Try to get location preference.

  2. If not found or invalid path, try locating pymol.

:return Default pymol location if found else empty string

schrodinger.application.pymol.utils.set_pymol_location_preference(pymol_location: str)

Saves the pymol location in SCRIPTS.xml :param pymol_location: provided location