[GSAS-II] delete histogram - error
William Boyer
WBoyer at protoxrd.com
Thu Jul 3 11:45:36 CDT 2014
Hello,
I have a project for which I want to delete my XRD data (the histogram) and
replace it with a different scan. So I saved the GSAS-II project, selected
project save successful
Traceback (most recent call last):
File "C:\Program Files (x86)\Python27\lib\site-packages\wx\_core.py", line
14618, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "C:\Program Files (x86)\GSASII\GSASIIplot.py", line 847, in
PlotPatterns
Pattern = G2frame.PatternTree.GetItemPyData(PatternId)
File "C:\Program Files (x86)\Python27\lib\site-packages\wx\_controls.py",
line 5315, in GetItemPyData
return _controls_.TreeCtrl_GetItemPyData(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "param" failed at
..\..\src\msw\treectrl.cpp(1083) in wxTreeCtrl::SetItemData(): failed to
change tree items
data
I thought I'd try to proceed, so I loaded my new histogram, selected an
instrument file and got this error:
Read powder data PWDR 14_06_21_0001b.xye from file D:\My
Documents\Proto\xrdwin_Data\PowderDiff\customers\Severstal\14106T\H635367\14
_06_21_0001b.xye
with parameters from GSAS-II file D:\My
Documents\Proto\xrdwin_Data\PowderDiff\customers\Severstal\14106T\GSASII\GSA
S instrument par - Mo - 14_06_26_0
004,5.instprm
Traceback (most recent call last):
File "C:\Program Files (x86)\GSASII\GSASII.py", line 1980, in
OnPatternTreeSelChanged
G2gd.MovePatternTreeToGrid(self,item)
File "C:\Program Files (x86)\GSASII\GSASIIgrid.py", line 5216, in
MovePatternTreeToGrid
G2pdG.UpdateInstrumentGrid(G2frame,data)
File "C:\Program Files (x86)\GSASII\GSASIIpwdGUI.py", line 1355, in
UpdateInstrumentGrid
MakeParameterWindow()
File "C:\Program Files (x86)\GSASII\GSASIIpwdGUI.py", line 1193, in
MakeParameterWindow
itemVal =
G2gd.ValidatedTxtCtrl(G2frame.dataDisplay,insVal,item,nDig=(10,4),typeHint=f
loat,OnLeave=AfterChange)
File "C:\Program Files (x86)\GSASII\GSASIIgrid.py", line 285, in __init__
self._setValue(val)
File "C:\Program Files (x86)\GSASII\GSASIIgrid.py", line 348, in _setValue
wx.TextCtrl.SetValue(self,str(G2py3.FormatValue(val,self.nDig)))
File "C:\Program Files (x86)\GSASII\GSASIIpy3.py", line 82, in FormatValue
if val < 0: digits[0] -= 1
TypeError: 'tuple' object does not support item assignment
Can you help? Do you need any further information?
Thank you very much,
William Boyer, PhD
<>< ><>
Materials Scientist
Proto Manufacturing Inc
Email: WBoyer at protoxrd.com
Web: www.protoxrd.com <http://www.protoxrd.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.aps.anl.gov/pipermail/gsas-ii/attachments/20140703/b366be19/attachment.html>
More information about the GSAS-II
mailing list