Changeset 1779 for trunk/GSASIIgrid.py


Ignore:
Timestamp:
Apr 6, 2015 3:45:25 PM (7 years ago)
Author:
vondreele
Message:

Add FWHM to exported peak lists
change default F2 refinement to False
Add histogram name to axial dist plots from DData

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r1778 r1779  
    22492249        data['shift factor'] = 1.
    22502250        data['max cyc'] = 3       
    2251         data['F**2'] = True
     2251        data['F**2'] = False
    22522252        data['minF/sig'] = 0
    22532253    if 'shift factor' not in data:
     
    22792279            choices = GetPatternTreeDataNames(G2frame,['PWDR',])
    22802280            sel = []
    2281             if 'Seq Data' in data:
    2282                 for item in data['Seq Data']:
    2283                     sel.append(choices.index(item))
    2284                 sel = [choices.index(item) for item in data['Seq Data']]
     2281            try:
     2282                if 'Seq Data' in data:
     2283                    for item in data['Seq Data']:
     2284                        sel.append(choices.index(item))
     2285                    sel = [choices.index(item) for item in data['Seq Data']]
     2286            except ValueError:  #data changed somehow - start fresh
     2287                sel = []
    22852288            dlg = G2G.G2MultiChoiceDialog(G2frame.dataFrame, 'Sequential refinement',
    2286                                       'Select dataset to include',
    2287                                       choices)
     2289                'Select dataset to include',choices)
    22882290            dlg.SetSelections(sel)
    22892291            names = []
Note: See TracChangeset for help on using the changeset viewer.