Commit 76be5e34 authored by Pardini, Lorenzo (lopa)'s avatar Pardini, Lorenzo (lopa)
Browse files

DOS...

parent 87abe3fe
......@@ -63,10 +63,10 @@ class DosHandler(xml.sax.handler.ContentHandler):
self.inDosProj = True
elif name == "point":
if self.inDos:
self.totDos.append(float(attrs.getValue('dos'))*ha_per_joule)
self.totDos.append(float(attrs.getValue('dos'))/ha_per_joule)
self.energy.append(fromH(float(attrs.getValue('e'))))
elif self.inDosProj:
self.dosProj.append(float(attrs.getValue('dos'))*ha_per_joule)
self.dosProj.append(float(attrs.getValue('dos'))/ha_per_joule)
self.energy.append(fromH(float(attrs.getValue('e'))))
elif name == "diagram":
if not self.speciesrn: pass
......
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