Changeset 5097


Ignore:
Timestamp:
Nov 22, 2021 2:05:25 PM (2 years ago)
Author:
vondreele
Message:

Add message for when PDFfit2 is missing or unavailable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r5096 r5097  
    63986398        elif G2frame.RMCchoice == 'PDFfit':
    63996399            PDFfit_exec = G2pwd.findPDFfit()  #returns location of python (not pdffit!)
    6400             print(PDFfit_exec)
     6400            if not PDFfit_exec:
     6401                wx.MessageBox(''' PDFfit2 is currently not available for this platform.
     6402    Please contact us for assistance''',caption='No PDFfit2',style=wx.ICON_INFORMATION)
     6403                return
    64016404            pName = generalData['Name'].replace(' ','_')
    64026405            rname = pName+'-PDFfit.py'
Note: See TracChangeset for help on using the changeset viewer.