Package schrodinger :: Package application :: Package phase :: Module constants
[hide private]
[frames] | no frames]

Module constants

Module defining Phase-related constants that are shared between scripts and other modules.

Functions [hide private]
str
get_feature_text(feature_type)
This function returns a string that shows both one letter feature type as well as a long name.
 
PICK_CATEGORY()
Variables [hide private]
  PROJECT_LAST_SAVED_FD_FILE = 'last_saved_feature.ini'
  FEATURE_A = 'A'
  FEATURE_D = 'D'
  FEATURE_H = 'H'
  FEATURE_N = 'N'
  FEATURE_P = 'P'
  FEATURE_Q = 'Q'
  FEATURE_R = 'R'
  FEATURE_X = 'X'
  FEATURE_Y = 'Y'
  FEATURE_Z = 'Z'
  FEATURE_TYPES = ('A', 'D', 'H', 'N', 'P', 'R', 'X', 'Y', 'Z')
  STD_FEATURE_TYPES = ('A', 'D', 'H', 'N', 'P', 'R')
  FEATURE_NAMES = {'A': 'Acceptor', 'D': 'Donor', 'H': 'Hydropho...
  MASK_PERMITTED = 0
hash(x)
  MASK_REQUIRED = 1
  MASK_DISABLED = -1
  MASK_NAMES = {'Disabled': -1, 'Permitted': 0, 'Required': 1}
  FEATURE_COLORS = {'A': (1.0, 0.5, 0.5), 'D': (0.5, 0.8, 0.9), ...
  FEATURE_TEXT_COLORS = {'A': (0.8, 0.4, 0.4), 'D': (0.392, 0.62...
  SELECTED_FEATURE_COLOR = (0.0, 1.0, 1.0)
  FEATURE_QCOLORS = {}
  XVOL_PICK_CATEGORY = 'xvol_pick_category'
  ADDITIONAL_ROLE = ['active', 'inactive', 'train', 'test']
  PHASE_IMPORTED_PHARM_SET = 's_phase_Imported_Pharm_Set'
  PHASE_IMPORTED_MUST_MATCH = 'b_phase_Imported_Must_Match'
  HYPO_XVOL_VISIBLE = 'b_phasehypo_ExcludedVolumesVisible'
  HYPO_REFCT_VISIBLE = 'b_phasehypo_ReferenceLigandVisible'
  HYPO_TOL_VISIBLE = 'b_phasehypo_ToleranceVisible'
  PROP_LABELS_VISIBLE = 'b_phasehypo_PropLabelsVisible'
  MANAGE_XVOL_OPEN = 'b_phasehypo_ManageXvolOpen'
  PROJ_POINT_DIST = 1.8
  __package__ = 'schrodinger.application.phase'
  feat = 'N'
  qcolor = <PyQt4.QtGui.QColor object at 0x7f594e28b410>
  rgb = (0.702, 0.169, 0.169)
Function Details [hide private]

get_feature_text(feature_type)

 

This function returns a string that shows both one letter feature type as well as a long name.

Parameters:
  • feature_type (str) - single character feature type
Returns: str
feature text string

Variables Details [hide private]

FEATURE_NAMES

Value:
{'A': 'Acceptor',
 'D': 'Donor',
 'H': 'Hydrophobic',
 'N': 'Negative',
 'P': 'Positive',
 'R': 'Aromatic Rings',
 'X': 'Custom1',
 'Y': 'Custom2',
...

FEATURE_COLORS

Value:
{'A': (1.0, 0.5, 0.5),
 'D': (0.5, 0.8, 0.9),
 'H': (0.3, 1.0, 0.3),
 'N': (1.0, 0.3, 0.3),
 'P': (0.5, 0.6, 1.0),
 'R': (0.92, 0.51, 0.2),
 'X': (0.0, 1.0, 1.0),
 'Y': (0.3, 0.0, 1.0),
...

FEATURE_TEXT_COLORS

Value:
{'A': (0.8, 0.4, 0.4),
 'D': (0.392, 0.624, 0.698),
 'H': (0.2, 0.671, 0.2),
 'N': (0.702, 0.169, 0.169),
 'P': (0.376, 0.451, 0.749),
 'R': (0.8, 0.447, 0.176),
 'X': (0.0, 1.0, 1.0),
 'Y': (0.3, 0.0, 1.0),
...