Commit ed1aa3c8 authored by Ask Hjorth Larsen's avatar Ask Hjorth Larsen
Browse files

different handling of units

parent 10c1d69d
......@@ -150,9 +150,8 @@ def parse(filename):
origin, 'angstrom')
p.addArrayValues('volumetric_data_displacements',
displacements, 'angstrom')
p.addArrayValues('volumetric_data_values', values)
p.addArrayValues('volumetric_data_values', c(values, unit))
p.addValue('volumetric_data_kind', kind)
p.addValue('volumetric_data_unit', unit)
# H.atom.ulm.gpw test can be used to verify that pseudodensity
# integrates to 0.98, corresponding closely to the norm of the
......
Markdown is supported
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