legrandp/xdsme

xscale.py error message on exit

Opened this issue · 0 comments

What steps will reproduce the problem?
1.  Just running xscale.py (no matter what options, although I typically use 
'-n -m').

What is the expected output? What do you see instead?
I would expect xscale.py to end cleanly with no error messages. Instead, after 
the CPU time and elapsed wall-clock time messages, xscale.py yields the 
following:

Traceback (most recent call last):
  File "/usr/local/xtal/XDSme/xdsme-0.5.0.2/bin/noarch/xscale.py", line 104, in <module>
    run_xscale((hklfile,),hklout, xlatt, nbin=nbin, merge=merge)
  File "/usr/local/xtal/XDSme/xdsme-0.5.0.2/XDS/xupy.py", line 1184, in run_xscale
    s = resum_scaling(lpf=os.path.join(Dir,"XSCALE.LP"))
  File "/usr/local/xtal/XDSme/xdsme-0.5.0.2/XDS/xupy.py", line 881, in resum_scaling
    slowr = lp.index("INCLUDE_RESOLUTION_RANGE=") + 26
ValueError: substring not found

What version of the product are you using? On what operating system?

XDSme 0.5.0.2
XSCALE (VERSION July 4, 2012  BUILT=20130706)  17-Dec-2013
MacOSX 10.9

Please provide any additional information below.
As far as I can see xscale.py runs to the end producing normal.hkl and 
XSCALE.LP just fine, so I am not sure whether the error message is 
inconsequential or not. However, an error message clearly precludes the 
automatic running of additional programs that depend on a clean exit from 
xscale.py (e.g. xdsconv.py right after xscale.py).

Original issue reported on code.google.com by francisc...@strubicib.org on 17 Dec 2013 at 4:34