summary: add parameter
description: when I try to add a parameter to the refinement strategy it crashes.
In this case I selected the column and right click, then select 'add to new step', but it happens whatever I do...
how should I do it? thanks
Monica
component: srrietveld
version: 1.0beta-r6746-20110902
traceback:
Traceback (most recent call last):
File "C:\xray\srRietveld\Python26\lib\site-packages\diffpy.srrietveld-1.0beta_r6746_20110902-py2.6.egg\diffpy\srrietveld\gui\errorwrapper.py", line 61, in _f
return func(*args, **kwargs)
File "C:\xray\srRietveld\Python26\lib\site-packages\diffpy.srrietveld-1.0beta_r6746_20110902-py2.6.egg\diffpy\srrietveld\gui\mainframe.py", line 2106, in onTurnOnParam
fitobj.addParamToStrategy(dp, step)
File "C:\xray\srRietveld\Python26\lib\site-packages\diffpy.srrietveld-1.0beta_r6746_20110902-py2.6.egg\diffpy\srrietveld\refinement.py", line 84, in addParamToStrategy
self.setStrategy(strategy.strategy)
UnboundLocalError: local variable 'strategy' referenced before assignment
Bests,
Xiaohao
> --
> You received this message because you are subscribed to the Google Groups "srrietveld-dev" group.
> To post to this group, send email to srrietv...@googlegroups.com.
> To unsubscribe from this group, send email to srrietveld-de...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/srrietveld-dev?hl=en.
>
>
--
Xiaohao Yang
Applied Physics & Applied Mathematics
Columbia University
500 West 120th Street
Room 200 Mudd, MC 4701
New York, NY 10027
Email: xy2...@columbia.edu
linux:
http://danse.cacr.caltech.edu/packages/dev_danse_us/diffpy-1.1-r6761.tgz
windows:
http://danse.cacr.caltech.edu/packages/dev_danse_us/SrRietveld-1.1-r6761.exe
Best,
Xiaohao
On Tue, Oct 25, 2011 at 9:51 AM, <dif...@diffpy.org> wrote: