Changeset 4418


Ignore:
Timestamp:
May 13, 2020 6:58:36 PM (18 months ago)
Author:
vondreele
Message:

change macromolecular default drawing from sticks (slow) to van der waals balls (faster)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r4417 r4418  
    36563656            atomInfo = [[atom[1].strip()+atom[0],]+
    36573657                [AA1letter[oneLetter]+atom[0],]+atom[2:5]+
    3658                 atom[6:9]+['1',]+['sticks',]+['',]+[[255,255,255],]+atom[12:]+[[],[]]][0]
     3658                atom[6:9]+['1',]+['vdW balls',]+['',]+[[255,255,255],]+atom[12:]+[[],[]]][0]
    36593659            ct,cs = [4,11]         #type & color
    36603660        atNum = generalData['AtomTypes'].index(atom[ct])
     
    44454445                    Indx[atmSel.GetId()] = [ifx,i]
    44464446                    swapSizer.Add(atmSel,0,WACV)
    4447                 swapSizer.Add(G2G.ValidatedTxtCtrl(G2frame.FRMC,swap,2,min=0.,max=1.,size=(50,25)),0,WACV)
     4447                swapSizer.Add(G2G.ValidatedTxtCtrl(G2frame.FRMC,swap,2,min=0.01,max=0.5,size=(50,25)),0,WACV)
    44484448            return swapSizer
    44494449       
Note: See TracChangeset for help on using the changeset viewer.