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'
  STD_FEATURE_TYPES = ('A', 'D', 'H', 'N', 'P', 'R')
  CUSTOM_FEATURE_TYPES = ('X', 'Y', 'Z')
  FEATURE_TYPES = ('A', 'D', 'H', 'N', 'P', 'R', 'X', 'Y', 'Z')
  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)
  XVOL_PICK_CATEGORY = 'xvol_pick_category'
  base64_properties = ['s_phasehypo_Constraints', 's_phasehypo_E...
  ADDITIONAL_ROLE = ['active', 'inactive', 'train', 'test']
  IMPORTED_PHARM_SET = 's_phase_Imported_Pharm_Set'
  IMPORTED_MUST_MATCH = 'b_phase_Imported_Must_Match'
  IMPORTED_LIGAND_GROUP = 'i_phase_Imported_Ligand_Group'
  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'
  __package__ = 'schrodinger.application.phase'
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_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),
 'Q': (1.0, 0.0, 1.0),
 'R': (0.92, 0.51, 0.2),
 'X': (0.0, 1.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),
...

base64_properties

Value:
['s_phasehypo_Constraints',
 's_phasehypo_ExcludedVolumes',
 's_phasehypo_FeatureDefinitions',
 's_phasehypo_FeatureRadii',
 's_phasehypo_FeatureRules',
 's_phasehypo_IncludedVolumes',
 's_phasehypo_MatchingTolerances',
 's_phasehypo_QsarModel',
...