Changeset 3449 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Jun 25, 2018 8:26:12 AM (5 years ago)
Author:
vondreele
Message:

correctly set magnetic sym stuff on space group change for magnetic structure
clear Atom drawing array after space group change (gets reloaded before plot from Atoms list); clears away symm related atoms that might not exist in new space group

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r3438 r3449  
    14081408                        if SGData['SGInv']:
    14091409                            Nops *= 2
     1410                        GenSym,GenFlg = G2spc.GetGenSym(SGData)[:2]
     1411                        SGData['GenSym'] = GenSym
     1412                        SGData['GenFlg'] = GenFlg
     1413                        SGData['MagSpGrp'] = G2spc.MagSGSym(SGData)
     1414                        G2spc.ApplyBNSlatt(SGData,SGData['BNSlattsym'])
    14101415                        SGData['SpnFlp'] = Nops*[1,]
    14111416                    if generalData['Modulated']:
     
    14261431                        data['Histograms'][hist]['Mustrain'][4:6] = [NShkl*[0.01,],NShkl*[False,]]
    14271432                        data['Histograms'][hist]['HStrain'] = [NDij*[0.0,],NDij*[False,]]
     1433                data['Drawing']['Atoms'] = []
    14281434                wx.CallAfter(UpdateGeneral)
    14291435               
Note: See TracChangeset for help on using the changeset viewer.