Package schrodinger :: Package utils :: Module maestro_scripts_path
[hide private]
[frames] | no frames]

Module maestro_scripts_path

A module of maestro scripts path related APIs.

Functions [hide private]
str
get_maestro_scripts_path(path_type)
This function returns the maestro scripts specific path.
Variables [hide private]
  STD_SCRIPTS_INSTALL_DIR_PATH = 4
  STD_SCRIPTS_MENU_PATH = 3
hash(x)
  USER_SCRIPTS_INSTALL_DIR_PATH = 2
  USER_SCRIPTS_MENU_PATH = 1
  __package__ = 'schrodinger.utils'
Function Details [hide private]

get_maestro_scripts_path(path_type)

 

This function returns the maestro scripts specific path. If an invalid path_type is specified, then a TypeError is thrown.

Parameters:
  • path_type (constant) - value should be one of following...
    • USER_SCRIPTS_MENU_PATH: Linux/Mac: $HOME/.schrodinger/{RELEASE_DIR}/maestro/scriptsx.mnu Windows: AppData/Schrodinger/{RELEASE_DIR}/maestro/scriptsx.mnu
    • USER_SCRIPTS_INSTALL_DIR_PATH Linux/Mac: $HOME/.schrodinger/{RELEASE_DIR}/scriptsx Windows: AppData/Schrodinger/{RELEASE_DIR}/scriptsx
    • STD_SCRIPTS_MENU_PATH $SCHRODINGER/mmshare-vX.Y/python/common/scriptsx.mnu
    • STD_SCRIPTS_INSTALL_DIR_PATH $SCHRODINGER/mmshare-vX.Y/python/common
Returns: str
Maestro scripts path