def OnRunHKLs(self, evt): """Select HKLs to use for indexing""" exp = wx.GetApp().ws hkls_dlg = HklsDlg(self, wx.NewId(), exp.activeMaterial) if hkls_dlg.ShowModal() == wx.ID_OK: exp.activeMaterial.planeData.exclusions = hkls_dlg.getExclusions() pass return
def OnRunHKLs(self, evt): """Select HKLs to use for indexing""" exp = wx.GetApp().ws iopts = exp.index_opts pd = exp.activeMaterial.planeData hkls_dlg = HklsDlg(self, wx.NewId(), exp.activeMaterial) if hkls_dlg.ShowModal() == wx.ID_OK: # pd.exclusions = hkls_dlg.getExclusions() iopts.fsHKLs = hkls_dlg.getTuples() print 'hkls: ', iopts.fsHKLs return