Changeset 3970 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
May 12, 2019 10:57:38 AM (3 years ago)
Author:
toby
Message:

Py3 bug on Pawley Estimate; Scriptable corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r3956 r3970  
    88778877        if generalData['Modulated']:
    88788878            im = 1
    8879         HistoNames = filter(lambda a:Histograms[a]['Use']==True,list(Histograms.keys()))
     8879        HistoNames = list(filter(lambda a:Histograms[a]['Use']==True,list(Histograms.keys())))
    88808880        if not len(HistoNames):
    88818881            G2frame.ErrorDialog('Pawley estimate','No histograms defined for this phase')
Note: See TracChangeset for help on using the changeset viewer.