Commit 4f10c2bf authored by Jan Kotanski's avatar Jan Kotanski
Browse files

Updated version 1.3.3 from 'upstream/jessie/1.3.3'

with Debian dir 4465ef137b6243c4c66172e02bdfa23686d5f82c
parents 1c640adc 21b54d62
Metadata-Version: 1.0
Name: nexdatas.extrasp02
Version: 1.3.2
Version: 1.3.3
Summary: nexus template components for P02
Home-page: http://github.com/nexdatas/
Author: Jan Kotanski
......
......@@ -19,7 +19,7 @@
""" nexus xml templates for P02"""
__version__ = "1.3.2"
__version__ = "1.3.3"
#: (:obj:`dict` <:obj:`str` , :obj:`dict` <:obj:`str` , :obj:`str` > >)
#: standard component template variables
......
......@@ -686,7 +686,7 @@ def main():
for mot in sorted(angleOffsets.keys()):
hshRecord[mot] = pos + angleOffsets[mot]
fioLine = "%15g" % pos
fioLine = "%15.12g" % pos
for cnt in sorted(hshCounters.keys()):
temp = corr * (counterReadings[cnt]["counts"]
- counterReadings[cnt]["countsOld"])
......@@ -697,7 +697,7 @@ def main():
#
hshRecord['correction'] = corr
hshRecord['delta_position'] = pos - posOld
fioLine = fioLine + " %15g %15g\n" % (corr, (pos - posOld))
fioLine = fioLine + " %15.12g %15.12g\n" % (corr, (pos - posOld))
if writefio:
fio.write(fioLine)
posOld = pos
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment