Changeset 2218 for trunk/GSASIIphsGUI.py


Ignore:
Timestamp:
Apr 18, 2016 11:26:02 AM (8 years ago)
Author:
vondreele
Message:

work on cell transformations - fills new cell with unique atom set, deletes map (if any)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIphsGUI.py

    r2216 r2218  
    12131213       
    12141214    def OnTransform(event):
    1215         '''What is needed here? Get user to refer to Intl. Tables 1A (or Bilbao server) & use new
    1216         space group, cell transformation & origin displacement (if needed) given therein.
    1217         Do this in popup dialog box with OK, Cancel buttons; if OK
    1218         apply to lattice parameters & atom position/Uij parameters
    1219         need to start with full unit cell contents, transform & then filter out symm. equiv.
    1220         '''
    12211215        dlg = G2gd.TransformDialog(G2frame,data)
    12221216        try:
     
    12291223        phaseName = newPhase['General']['Name']
    12301224        newPhase = G2lat.TransformPhase(data,newPhase,Trans,Vec)
     1225        newPhase['General']['Map'] = mapDefault.copy()
    12311226        sub = G2frame.PatternTree.AppendItem(parent=
    12321227            G2gd.GetPatternTreeItemId(G2frame,G2frame.root,'Phases'),text=phaseName)
Note: See TracChangeset for help on using the changeset viewer.