Changeset 1317


Ignore:
Timestamp:
May 2, 2014 9:25:09 AM (8 years ago)
Author:
vondreele
Message:

fix SASD Models sizer issue
better trap for bad SASD LS refinements

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r1315 r1317  
    32303230                strfctr.Bind(wx.EVT_COMBOBOX,OnSelect)
    32313231                topLevel.Add(strfctr,0,WACV)
    3232             partSizer.Add(ParmSizer(),1,wx.EXPAND)
     3232            partSizer.Add(ParmSizer(),0,wx.EXPAND)
    32333233        return partSizer
    32343234       
  • trunk/GSASIIsasd.py

    r1315 r1317  
    12461246        covMatrix = covM*Rvals['GOF']
    12471247        return True,result,varyList,sig,Rvals,covMatrix
    1248     except ValueError:
     1248    except ValueError,TypeError:      #when bad LS refinement; covM missing or with nans
    12491249        return False,0,0,0,0,0
    12501250   
Note: See TracChangeset for help on using the changeset viewer.