schrodinger.job.util module¶
Contains a utility to find a product within a SCHRODINGER directory.
@copyright: Schrodinger, LLC. All rights reserved.
- schrodinger.job.util.hunt(product, dir=DirectoryType.EXEC)¶
Look for the exec, lib, or data directory for a given Schrodinger product.
- Parameters:
dir (DirectoryType) – The type of directory to find; must be ‘exec’, ‘lib’, or ‘data’ and defaults to ‘exec’.
- Returns:
The executable, lib, or data directory of the desired product. If no directory is found, the empty string is returned.
- Return type:
str