Commit 28d9a8a2 authored by Mikkel Strange's avatar Mikkel Strange
Browse files

use ulm io

parent 3d1ee9ae
......@@ -4,7 +4,7 @@ from contextlib import contextmanager
import numpy as np
from ase import units
from ase.data import chemical_symbols
from ase.io.aff import affopen
from ase.io.ulm import ulmopen
from ase.utils import basestring
#from ase.io.trajectory import read_atoms
from ase.data import atomic_masses
......@@ -44,7 +44,7 @@ metaInfoEnv, warns = loadJsonFile(filePath=metaInfoPath,
def parse(filename):
p = JsonParseEventsWriterBackend(metaInfoEnv)
o = open_section
r = affopen(filename) # Reader(filename)
r = ulmopen(filename) # Reader(filename)
p.startedParsingSession(filename, parser_info)
parms.update(r.parameters.asdict())
with o(p, 'section_run'):
......
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