Commit 273e23dd authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Added script to profile vasp parser.

parent 4d5381b0
Pipeline #37400 passed with stages
in 5 minutes and 57 seconds
from nomad.parsing import parser_dict
from nomad import utils
def run_parser(parser_name, mainfile):
parser = parser_dict[parser_name]
return parser.run(mainfile, logger=utils.get_logger(__name__))
if __name__ == '__main__':
run_parser('parsers/vasp', '.dependencies/parsers/vasp/test/examples/xml/perovskite.xml')
run_parser('parsers/vasp', '.dependencies/parsers/vasp/test/examples/xml/perovskite.xml')
run_parser('parsers/vasp', '.dependencies/parsers/vasp/test/examples/xml/perovskite.xml')
run_parser('parsers/vasp', '.dependencies/parsers/vasp/test/examples/xml/perovskite.xml')
run_parser('parsers/vasp', '.dependencies/parsers/vasp/test/examples/xml/perovskite.xml')
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