Commit c161792f authored by Carl Poelking's avatar Carl Poelking
Browse files

has_energy_total: boolean bug fix.

parent d19c933a
......@@ -326,10 +326,14 @@ class LibAtomsFrame(LibAtomsParser):
self.config_type = None
def LoadAseConfig(self, ase_config):
self.ase_config = ase_config
key = 'energy'
if key in
has_energy = True
self.has_energy = True =[key]
self.has_energy = True = self.ase_config.get_total_energy()
key = 'config_type'
if key in
self.has_config_type = True
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