summary: Can't load my PCR file
description: Trying to load a PCR file created in EdPCR by importing a cif-file (SnO2) (FullProf Suite version May 2011). It runs in Fullprof. Wont load :(
I can load and run the PCR files in the tutorial.
component: srrietveld
version: 1.0beta-r6538-20110419
traceback:
Traceback (most recent call last):
File "C:\DiffPy\Python26\lib\site-packages\diffpy.srrietveld-1.0beta_r6538_20110419-py2.6.egg\diffpy\srrietveld\gui\errorwrapper.py", line 61, in _f
return func(*args, **kwargs)
File "C:\DiffPy\Python26\lib\site-packages\diffpy.srrietveld-1.0beta_r6538_20110419-py2.6.egg\diffpy\srrietveld\gui\mainframe.py", line 786, in loadExpPcr
fit = GLOBALS.project.importEngineFile(fullpath, name)
File "C:\DiffPy\Python26\lib\site-packages\diffpy.srrietveld-1.0beta_r6538_20110419-py2.6.egg\diffpy\srrietveld\project.py", line 547, in importEngineFile
importfile.ImportFile(enginefit)
File "C:\DiffPy\Python26\lib\site-packages\diffpy.pyfullprof-1.0b_r6538_20110419-py2.6.egg\diffpy\pyfullprof\pcrfilereader.py", line 100, in ImportFile
goodimport = self.ReadBlock2(fit)
File "C:\DiffPy\Python26\lib\site-packages\diffpy.pyfullprof-1.0b_r6538_20110419-py2.6.egg\diffpy\pyfullprof\pcrfilereader.py", line 544, in ReadBlock2
pattern.set("Ipr", int(words[0]))
ValueError: invalid literal for int() with base 10: '0.944490'