reporter:
francesco...@unipr.it
summary: limit in number of atoms?
description: it looks like the program works (very well, congratulations!) for a number of atoms in the structure up to 9. Maybe the nature of the problem is different but troubles come out as I load a structure with 10 or more atoms, also without increasing the number of variables to be refined.
thank you in advance
best regards,
Francesco Mezzadri
component: srrietveld
version: 1.0beta-r6746-20110902
traceback:
Traceback (most recent call last):
File "D:\Uni\Programmi\DiffPy\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 "D:\Uni\Programmi\DiffPy\Python26\lib\site-packages\diffpy.srrietveld-1.0beta_r6746_20110902-py2.6.egg\diffpy\srrietveld\gui\mainframe.py", line 912, in loadExpPcr
fit = GLOBALS.project.importEngineFile(fullpath, name)
File "D:\Uni\Programmi\DiffPy\Python26\lib\site-packages\diffpy.srrietveld-1.0beta_r6746_20110902-py2.6.egg\diffpy\srrietveld\project.py", line 332, in importEngineFile
enginefit = loadFitFromEXP(fullpath)
File "D:\Uni\Programmi\DiffPy\Python26\lib\site-packages\diffpy.pygsas-1.0b_r6746_20110902-py2.6.egg\diffpy\pygsas\fitloader.py", line 42, in loadFitFromEXP
fit = loader(filename)
File "D:\Uni\Programmi\DiffPy\Python26\lib\site-packages\diffpy.pygsas-1.0b_r6746_20110902-py2.6.egg\diffpy\pygsas\fitloader.py", line 77, in __call__
self._importPhase(phidx1)
File "D:\Uni\Programmi\DiffPy\Python26\lib\site-packages\diffpy.pygsas-1.0b_r6746_20110902-py2.6.egg\diffpy\pygsas\fitloader.py", line 143, in _importPhase
self._importPhaseAtom(phidx1, aidx1)
File "D:\Uni\Programmi\DiffPy\Python26\lib\site-packages\diffpy.pygsas-1.0b_r6746_20110902-py2.6.egg\diffpy\pygsas\fitloader.py", line 164, in _importPhaseAtom
atom.set("Typ", expfile.getValue(akey('ATYP')))
File "D:\Uni\Programmi\DiffPy\Python26\lib\site-packages\diffpy.pygsas-1.0b_r6746_20110902-py2.6.egg\diffpy\pygsas\expfile.py", line 201, in getValue
key = self.getUniqueKey(*keywords)
File "D:\Uni\Programmi\DiffPy\Python26\lib\site-packages\diffpy.pygsas-1.0b_r6746_20110902-py2.6.egg\diffpy\pygsas\expfile.py", line 280, in getUniqueKey
raise KeyError(emsg)
KeyError: "Cannot find unique record for (('CRS1', 'AT10', 'ATYP'),)"