Skip to content

Commit 43b1b3d

Browse files
committed
fix (again) to
1 parent 067ac0e commit 43b1b3d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

GSASII/GSASIIdataGUI.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7233,7 +7233,7 @@ def _makemenu(): # routine to create menu when first used
72337233
self.DeformationMenu.Append(menu=wx.Menu(title=''),title='Select tab')
72347234
self.DeformationEdit = wx.Menu(title='')
72357235
self.DeformationMenu.Append(menu=self.DeformationEdit, title='Edit Deformations')
7236-
self.DeformationEdit.Append(G2G.wxID_DEFORMSETSEL,'Select atoms','Select atoms for deformation study')
7236+
self.DeformationEdit.Append(G2G.wxID_DEFORMSETSEL,'Add atoms','Add atoms for deformation study')
72377237
self.DeformationEdit.Append(G2G.wxID_DEFORMDISTSET,'Set bond parms','Set bond selection parameters')
72387238
self.PostfillDataMenu()
72397239

GSASII/GSASIImiscGUI.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,8 @@ def LogCellChanges(G2frame):
13671367
SGData = phasedict['General']['SGData']
13681368
for hist in phasedict['Histograms']:
13691369
if not phasedict['Histograms'][hist]['Use']: continue
1370-
if 'S' in phasedict['Histograms'][hist]['Type']: continue
1370+
#skip single crystal histograms!
1371+
if 'Type' in phasedict['Histograms'][hist] and 'S' in phasedict['Histograms'][hist]['Type']: continue
13711372
hId = Histograms[hist]['hId']
13721373
if any(phasedict['Histograms'][hist]['HStrain'][1]) or phasedict['General']['Cell'][0]:
13731374
cellList,cellSig = G2lat.getCellSU(pId,hId,SGData,parmDict,covData)

0 commit comments

Comments
 (0)