[docs]classLewisStructureStep(object):my_description={"description":"Creates the Lewsi structure for a molecule","group":"Analysis","name":"Lewis Structure",}def__init__(self,flowchart=None,gui=None):"""Initialize this helper class, which is used by the application via stevedore to get information about and create node objects for the flowchart """pass
[docs]defdescription(self):"""Return a description of what this extension does"""returnLewisStructureStep.my_description
[docs]defcreate_node(self,flowchart=None,**kwargs):"""Return the new node object"""returnmopac_step.LewisStructure(flowchart=flowchart,**kwargs)
[docs]defcreate_tk_node(self,canvas=None,**kwargs):"""Return the graphical Tk node object"""returnmopac_step.TkLewisStructure(canvas=canvas,**kwargs)