Commit 903088e1 authored by Daniel Brown's avatar Daniel Brown
Browse files

fixing pd parsing of SI units

parent 1ff9f598
......@@ -495,9 +495,12 @@ class pd(Detector1):
dict = {}
for i in range(len(f)):
dict['f{0}'.format(i+1)] = f[i]
dict['f{0}'.format(i+1)] = SIfloat(f[i])
for i in range(len(phs)):
dict['phi{0}'.format(i+1)] = phs[i]
if phs[i] == "max":
dict['phi{0}'.format(i+1)] = "max"
else:
dict['phi{0}'.format(i+1)] = SIfloat(phs[i])
node = values[-1]
alt_beam = node[-1] == '*'
......
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