Skip to content
Snippets Groups Projects
Commit ed1aa3c8 authored by Ask Hjorth Larsen's avatar Ask Hjorth Larsen
Browse files

different handling of units

parent 10c1d69d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment