Changeset 2111 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Jan 4, 2016 1:36:49 PM (6 years ago)
Author:
vondreele
Message:

fix to mod vec edit & search
comment out unused StructureFactorDerv? versions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r2109 r2111  
    24702470        Id = Indx[ObjId]
    24712471        try:
    2472             value = min(1.0,max(-1.0,float(Obj.GetValue())))
     2472            value = min(0.98,max(-0.98,float(Obj.GetValue())))
    24732473        except ValueError:
    24742474            value = ssopt['ModVec'][Id]
     
    24812481        ObjId = Obj.GetId()
    24822482        Id,valObj = Indx[ObjId]
    2483         move = Obj.GetValue()*0.001
     2483        move = Obj.GetValue()*0.01
    24842484        Obj.SetValue(0)
    2485         value = min(1.0,max(-1.0,float(valObj.GetValue())+move))
     2485        value = min(0.98,max(-0.98,float(valObj.GetValue())+move))
    24862486        valObj.SetValue('%.4f'%(value))
    24872487        ssopt['ModVec'][Id] = value
Note: See TracChangeset for help on using the changeset viewer.