Tuesday, 20 March 2012

Nasty bug spotted: resolution in sweep block, -3d

It seems some of the refactoring I did recently left a bug lying around if you put a resolution in a sweep block e.g.


BEGIN PROJECT AUTOMATIC
BEGIN CRYSTAL DEFAULT

BEGIN WAVELENGTH NATIVE
WAVELENGTH 0.991870
END WAVELENGTH NATIVE

BEGIN SWEEP SWEEP1
WAVELENGTH NATIVE
RESOLUTION 1.7
DIRECTORY /Users/graeme/data/12847
IMAGE 12847_4_001.img
START_END 1 180
EPOCH 1106329906
BEAM 109.02 105.01
END SWEEP SWEEP1

BEGIN SWEEP SWEEP2
WAVELENGTH NATIVE
RESOLUTION 2.3
DIRECTORY /Users/graeme/data/12847
IMAGE 12847_5_001.img
START_END 1 90
EPOCH 1106332719
BEAM 109.04 105.01
END SWEEP SWEEP2

END CRYSTAL DEFAULT
END PROJECT AUTOMATIC

This has now bee squashed and will be mended in 0.3.4.1. Symptom is endless scaling loop talking about Resolution 1.0.


No comments: