Changeset 5056


Ignore:
Timestamp:
Oct 28, 2021 9:40:47 AM (23 months ago)
Author:
vondreele
Message:

add message boxes to ISODISTORT stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r5054 r5056  
    29192919        if dlg.ShowModal() == wx.ID_OK:
    29202920            fpath,parentcif = os.path.split(dlg.GetPath())
     2921            wx.BeginBusyCursor()
    29212922            radio,rundata = ISO.GetISODISTORT(data,parentcif)
     2923            wx.EndBusyCursor()
    29222924            data['ISODISTORT']['radio'] = radio
    29232925            data['ISODISTORT']['rundata'] = rundata
     
    29272929            UpdateISODISTORT()
    29282930        else:
    2929             print('ISODISTORT run cancelled')
     2931            G2G.G2MessageBox(G2frame,'ISODISTORT run cancelled')       
    29302932               
    29312933    def OnCompare(event):
     
    67146716        if data['ISODISTORT']:
    67156717            CIFfile = ISO.GetISODISTORTcif(data)
    6716             print(CIFfile)
     6718            G2G.G2MessageBox(G2frame,'ISODISTORT generated cif file %s has been created.'%CIFfile)
    67176719        else:
    6718             print('ERROR-need to run ISODISTORT first - see General/Compute menu')
    6719            
    6720        
     6720            G2G.G2MessageBox(G2frame,'ERROR - need to run ISODISTORT first - see General/Compute menu')       
    67216721         
    67226722#### DIFFax Layer Data page ################################################################################
Note: See TracChangeset for help on using the changeset viewer.