Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion GSASII/GSASIIdataGUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -1618,7 +1618,7 @@ def GetDefaultParms(self,rd):
else:
rd.instmsg = 'default: '+dI.defaultIparm_lbl[res]
inst1,inst2 = self.ReadPowderInstprm(dI.defaultIparms[res],bank,rd)
if rd.instdict.get('wave'):
if rd.instdict.get('wave') and 'Lam' in inst1:
inst1['Lam'][0] = rd.instdict.get('wave')
inst1['Lam'][1] = rd.instdict.get('wave')
return [inst1,inst2]
Expand Down
2 changes: 2 additions & 0 deletions GSASII/GSASIIobj.py
Original file line number Diff line number Diff line change
Expand Up @@ -1433,6 +1433,8 @@ def ReInitialize(self):
self.instdict = {} # place items here that will be transferred to the instrument parameters
self.pwdparms = {} # place parameters that are transferred directly to the tree
# here (typically from an existing GPX file)
self.selections = []
self.dnames = []
######################################################################
class ImportSmallAngleData(ImportBaseclass):
'''Defines a base class for the reading of files with small angle data.
Expand Down
Loading
Loading