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

use functioning unit conversion shortcut

parent ed1aa3c8
......@@ -150,7 +150,8 @@ def parse(filename):
origin, 'angstrom')
p.addArrayValues('volumetric_data_displacements',
displacements, 'angstrom')
p.addArrayValues('volumetric_data_values', c(values, unit))
p.addArrayValues('volumetric_data_values',
cu(values, unit))
p.addValue('volumetric_data_kind', kind)
# H.atom.ulm.gpw test can be used to verify that pseudodensity
......
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