Changeset 4113 for trunk/GSASIIpwdGUI.py


Ignore:
Timestamp:
Aug 26, 2019 9:37:54 AM (2 years ago)
Author:
vondreele
Message:

add save SHAPES bead models as pdb files from plot - remove option to make SHAPES make pdb files since no longer needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwdGUI.py

    r4106 r4113  
    56765676    def ShapesSizer():
    56775677       
    5678         def OnPDBout(event):
    5679             data['Shapes']['pdbOut'] = not data['Shapes']['pdbOut']
     5678#        def OnPDBout(event):
     5679#            data['Shapes']['pdbOut'] = not data['Shapes']['pdbOut']
    56805680           
    56815681        def OnShapeSelect(event):
     
    57015701            print('%s %.3f'%('selected r value',pattern[-1]))
    57025702            print('%s %.3f'%('selected Delta P(r)',PRcalc[r][-1]))
     5703            PDBtext = 'P(R) dif: %.3f r-value: %.3f Nbeads: %d'%(PRcalc[r][-1],pattern[-1],len(selAtoms[1]))
    57035704#            RefreshPlots(True)
    57045705            G2plt.PlotPatterns(G2frame,plotType='SASD',newPlot=True)
    57055706            G2plt.PlotSASDPairDist(G2frame)
    5706             G2plt.PlotBeadModel(G2frame,selAtoms,plotDefaults)
     5707            G2plt.PlotBeadModel(G2frame,selAtoms,plotDefaults,PDBtext)
    57075708       
    57085709        shapeSizer = wx.BoxSizer(wx.VERTICAL)
     
    57415742        beadsep = G2G.ValidatedTxtCtrl(G2frame.dataWindow,data['Shapes'],'boxStep',min=3.5,max=5,nDig=(10,1))
    57425743        parmSizer.Add(beadsep,0,WACV)       
    5743         pdb = wx.CheckBox(G2frame.dataWindow,label=' Save as pdb files?: ')
    5744         pdb.SetValue(data['Shapes']['pdbOut'])
    5745         pdb.Bind(wx.EVT_CHECKBOX, OnPDBout)       
    5746         parmSizer.Add(pdb,0,WACV)
     5744#        pdb = wx.CheckBox(G2frame.dataWindow,label=' Save as pdb files?: ')
     5745#        pdb.SetValue(data['Shapes']['pdbOut'])
     5746#        pdb.Bind(wx.EVT_CHECKBOX, OnPDBout)       
     5747#        parmSizer.Add(pdb,0,WACV)
    57475748       
    57485749        shapeSizer.Add(parmSizer)
Note: See TracChangeset for help on using the changeset viewer.