|
41 | 41 | from . import GSASIIplot as G2plt |
42 | 42 | from . import GSASIIpwdplot as G2pwpl |
43 | 43 | from . import GSASIIphsGUI2 as G2phsG2 |
| 44 | +from . import GSASIIrmcGUI as G2rmcG |
44 | 45 | # if GSASIIpath.GetConfigValue('debug'): |
45 | 46 | # print('Debug reloading',G2plt) |
46 | 47 | # import imp |
@@ -5862,7 +5863,7 @@ def OnSetupRMC(event): |
5862 | 5863 | if reset: |
5863 | 5864 | wx.MessageDialog(G2frame,' Vacancies found & "Va" atoms added to list. '+ \ |
5864 | 5865 | 'You may need to revise RMCProfile setup parameters.','Repeat Setup RMC',wx.OK).ShowModal() |
5865 | | - wx.CallAfter(G2phsG2.UpdateRMC,G2frame,data) |
| 5866 | + wx.CallAfter(G2rmcG.UpdateRMC,G2frame,data) |
5866 | 5867 | else: |
5867 | 5868 | print('RMCProfile file build failed - no histogram selected') |
5868 | 5869 | G2frame.dataWindow.FRMCDataEdit.Enable(G2G.wxID_RUNRMC,False) |
@@ -6121,7 +6122,7 @@ def RunPDFfit(event): |
6121 | 6122 | Error = G2pwd.UpdatePDFfit(data,RMCPdict) |
6122 | 6123 | if Error: |
6123 | 6124 | wx.MessageBox('PDFfit failed',caption='%s not found'%Error[0],style=wx.ICON_EXCLAMATION) |
6124 | | - G2phsG2.UpdateRMC(G2frame,data) |
| 6125 | + G2rmcG.UpdateRMC(G2frame,data) |
6125 | 6126 |
|
6126 | 6127 | def Runfullrmc(event): |
6127 | 6128 | fullrmc_exec = G2pwd.findfullrmc() |
@@ -6196,7 +6197,7 @@ def Runfullrmc(event): |
6196 | 6197 | else: |
6197 | 6198 | Proc = subp.Popen(['/bin/bash','fullrmc.sh']) |
6198 | 6199 | # Proc.wait() #for it to finish before continuing on |
6199 | | - G2phsG2.UpdateRMC(G2frame,data) |
| 6200 | + G2rmcG.UpdateRMC(G2frame,data) |
6200 | 6201 |
|
6201 | 6202 | def RunRMCProfile(event): |
6202 | 6203 | generalData = data['General'] |
@@ -6270,7 +6271,7 @@ def RunRMCProfile(event): |
6270 | 6271 | batch.close() |
6271 | 6272 | subp.Popen(script_file,creationflags=subp.CREATE_NEW_CONSOLE) |
6272 | 6273 | # Proc.wait() #for it to finish before continuing on |
6273 | | - G2phsG2.UpdateRMC(G2frame,data) |
| 6274 | + G2rmcG.UpdateRMC(G2frame,data) |
6274 | 6275 |
|
6275 | 6276 |
|
6276 | 6277 | def OnRunRMC(event): |
@@ -13225,7 +13226,7 @@ def ChangePage(page): |
13225 | 13226 | G2phsG2.UpdateDysnomia(G2frame,data) |
13226 | 13227 | elif text == 'RMC': |
13227 | 13228 | G2gd.SetDataMenuBar(G2frame,G2frame.dataWindow.FRMCMenu) |
13228 | | - G2phsG2.UpdateRMC(G2frame,data) |
| 13229 | + G2rmcG.UpdateRMC(G2frame,data) |
13229 | 13230 | elif text == 'ISODISTORT': |
13230 | 13231 | G2gd.SetDataMenuBar(G2frame,G2frame.dataWindow.ISODData) |
13231 | 13232 | G2phsG2.UpdateISODISTORT(G2frame,data) |
|
0 commit comments