Package schrodinger :: Package application :: Package matsci :: Module smartsutilsgui
[hide private]
[frames] | no frames]

Module smartsutilsgui

Classes [hide private]
  SMARTSNameValidator
Ensures that the line edit contains only valid SMARTS name characters
Functions [hide private]
 
getSMARTSFromWS(maestro, warning, smart_edit)
Get the SMARTS pattern for the selected atoms in the workspace and insert it into the SMARTS entry
Variables [hide private]
  _doc__ = '\nGUI elements for working with SMARTS patterns\n\nC...
  __package__ = 'schrodinger.application.matsci'
Function Details [hide private]

getSMARTSFromWS(maestro, warning, smart_edit)

 

Get the SMARTS pattern for the selected atoms in the workspace and insert it into the SMARTS entry

Parameters:
  • maestro (schrodinger.maestro.maestro) - maestro provides structure and selected atom index
  • warning (function) - prints warning message
  • smart_edit (schrodinger.ui.qt.swidgets.SMARTSEdit) - setText() sets the name of the smart pattern in GUI

Variables Details [hide private]

_doc__

Value:
'''
GUI elements for working with SMARTS patterns

Copyright Schrodinger, LLC. All rights reserved.
'''