Commit d0e857a6 authored by Daniel Speckhard's avatar Daniel Speckhard
Browse files

Added Abinit parser

parent d64a9cca
......@@ -54,3 +54,4 @@
[submodule "dependencies/parsers/abinit"]
path = dependencies/parsers/abinit
url = https://gitlab.mpcdf.mpg.de/nomad-lab/parser-abinit
......@@ -254,9 +254,15 @@ parsers = [
r'^\s*Program (\S+)\s+v\.(\S+)(?:\s+\(svn\s+rev\.\s+'
r'(\d+)\s*\))?\s+starts[^\n]+'
r'(?:\s*\n?)*This program is part of the open-source Quantum')
),
LegacyParser(
name='parsers/abinit',
parser_class_name='abinitparser.AbinitParser',
mainfile_contents_re=(r'^\n\.Version\s*[0-9.]*\s*of ABINIT\s*')
)
]
""" Instanciation and constructor based config of all parsers. """
parser_dict = {parser.name: parser for parser in parsers} # type: ignore
......
This diff is collapsed.
......@@ -41,7 +41,7 @@ parser_examples = [
('parsers/wien2k', 'tests/data/parsers/wien2k/AlN/AlN_ZB.scf'),
# ('parsers/band', 'tests/data/parsers/band_adf.out'), # causes spglib to segfault
('parsers/gaussian', 'tests/data/parsers/gaussian/aniline.out'),
('parsers/quantumespresso', 'tests/data/parsers/quantum-espresso/benchmark.out'),
('parsers/abinit', 'tests/data/parsers/abinit/Fe.out'),
('parsers/quantumespresso', 'tests/data/parsers/quantum-espresso/W.out')
]
......@@ -49,7 +49,7 @@ faulty_unknown_one_d_matid_example = [
('parsers/template', 'tests/data/normalizers/no_sim_cell_boolean_positions.json')
]
correct_num_output_files = 19
correct_num_output_files = 20
class TestLocalBackend(object):
......
Supports Markdown
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