From e102cb0845b3f4bd9dbb3d2eeabf3558dd772edb Mon Sep 17 00:00:00 2001 From: Stuart Campbell <campbellsi@ornl.gov> Date: Wed, 1 Aug 2012 14:33:11 -0400 Subject: [PATCH] refs #1906. Updated HYS to have default values. If we add an equation, event it is value+0.0, then we will have a default value of 0.0. This will get rid of the NANs that were appearing if the s2 motor was missing. Also added the last-modified attribute --- Code/Mantid/instrument/HYSPEC_Definition.xml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Code/Mantid/instrument/HYSPEC_Definition.xml b/Code/Mantid/instrument/HYSPEC_Definition.xml index 461bd3a24d3..59b9cda6de6 100644 --- a/Code/Mantid/instrument/HYSPEC_Definition.xml +++ b/Code/Mantid/instrument/HYSPEC_Definition.xml @@ -1,7 +1,5 @@ <?xml version='1.0' encoding='ASCII'?> -<instrument valid-to="2100-01-31 23:59:59" name="HYSPEC" valid-from="2011-07-20 17:02:48.437294"> - <!--Created by Andrei Savici--> - <!-- Monitor 2 distance changed (SIC 22-MAR-2012)--> +<instrument valid-to="2100-01-31 23:59:59" name="HYSPEC" valid-from="2011-07-20 17:02:48.437294" last-modified="2012-08-01 14:28:00"> <defaults> <length unit="meter"/> <angle unit="degree"/> @@ -49,7 +47,7 @@ <value val="0"/> </parameter> <parameter name="t-position"> - <logfile id="s2"/> + <logfile id="s2" eq="0.0+value"/> </parameter> <parameter name="p-position"> <value val="0"/> @@ -58,7 +56,7 @@ <value val="0"/> </parameter> <parameter name="roty"> - <logfile id="s2"/> + <logfile id="s2" eq="0.0+value"/> </parameter> <parameter name="rotz"> <value val="0"/> -- GitLab