schrodinger.job.util module

Contains a utility to find a product within a SCHRODINGER directory.

@copyright: Schrodinger, LLC. All rights reserved.

class schrodinger.job.util.DirectoryType(value)

Bases: enum.Enum

An enumeration.

EXEC = 'exec'
LIB = 'lib'
DATA = 'data'
schrodinger.job.util.hunt(product, dir=DirectoryType.EXEC)

Look for the exec, lib, or data directory for a given Schrodinger product.


dir (DirectoryType) – The type of directory to find; must be ‘exec’, ‘lib’, or ‘data’ and defaults to ‘exec’.


The executable, lib, or data directory of the desired product. If no directory is found, the empty string is returned.

Return type