Commit 795d726b authored by Daniel Speckhard's avatar Daniel Speckhard
Browse files

Fixed test_parser_issue.

parent e82738ab
Pipeline #44552 failed with stages
in 22 minutes and 45 seconds
......@@ -288,10 +288,14 @@ parsers = [
LegacyParser(
name='parsers/octopus',
parser_class_name='octopusparser.OctopusParserWrapper',
mainfile_contents_re=(r'\*{32} Grid \*{32}Simulation Box:')
mainfile_contents_re=(r'\|0\) ~ \(0\) \|')
# We decided to use the octopus eyes instead of
# r'\*{32} Grid \*{32}Simulation Box:' since it was so far down in the file.
)
]
""" Instanciation and constructor based config of all parsers. """
parser_dict = {parser.name: parser for parser in parsers} # type: ignore
......
......@@ -46,8 +46,8 @@ parser_examples = [
('parsers/orca', 'tests/data/parsers/orca/orca3dot2706823.out'),
('parsers/castep', 'tests/data/parsers/castep/BC2N-Pmm2-Raman.castep'),
('parsers/dl-poly', 'tests/data/parsers/dl-poly/OUTPUT'),
('parsers/lib-atoms', 'tests/data/parsers/lib-atoms/gp.xml'),
('parsers/octopus', 'tests/data/parsers/octopus/stdout.txt'),
# ('parsers/lib-atoms', 'tests/data/parsers/lib-atoms/gp.xml')
# ('parsers/octopus', 'tests/data/parsers/octopus/stdout.txt')
]
faulty_unknown_one_d_matid_example = [
......
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