Changeset 5477


Ignore:
Timestamp:
Jan 16, 2023 12:09:28 PM (11 months ago)
Author:
vondreele
Message:

fixes to progress update in G2math.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r5476 r5477  
    40234023        if Rcf < 5.:
    40244024            break
    4025         GoOn = pgbar.Update(int(Rcf),newmsg='%s%8.3f%s\n%s %d'%('Residual Rcf =',int(Rcf),'%','No.cycles = ',Ncyc))[0]
     4025        GoOn = pgbar.Update(int(Rcf),newmsg='%s%8.3f%s\n%s %d'%('Residual Rcf =',Rcf,'%','No.cycles = ',Ncyc))[0]
    40264026        if not GoOn or Ncyc > 10000:
    40274027            break
     
    41834183        if Rcf < 5.:
    41844184            break
    4185         GoOn = pgbar.Update(int(Rcf),newmsg='%s%8.3f%s\n%s %d'%('Residual Rcf =',int(Rcf),'%','No.cycles = ',Ncyc))[0]
     4185        GoOn = pgbar.Update(int(Rcf),newmsg='%s%8.3f%s\n%s %d'%('Residual Rcf =',Rcf,'%','No.cycles = ',Ncyc))[0]
    41864186        if not GoOn or Ncyc > 10000:
    41874187            break
  • trunk/GSASIIphsGUI.py

    r5475 r5477  
    1147811478            Ocheck.Bind(wx.EVT_CHECKBOX,OnOrigRef)
    1147911479            Ocheck.SetValue(RBObj['Orig'][1])
     11480            # TODO: does spin RB need orientation vector? Does need angle & fix vector = [0,0,1]?
    1148011481            topSizer.Add(Ocheck,0,WACV)
    1148111482            topSizer.Add(wx.StaticText(RigidBodies,-1,
     
    1149211493                Indx['Orien'][ix] = orien
    1149311494                topSizer.Add(orien,0,WACV)
     11495            # TODO: could be just 'A' for spinning RBs; fix by sytsym rules?
    1149411496            Qcheck = wx.ComboBox(RigidBodies,-1,value='',choices=[' ','A','AV','V'],
    1149511497                style=wx.CB_READONLY|wx.CB_DROPDOWN)
Note: See TracChangeset for help on using the changeset viewer.