Skip to content
Snippets Groups Projects
Commit 598042f6 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Added the CPMD banner as the scala regular expression matcher.

parent f0ce17c0
No related branches found
No related tags found
No related merge requests found
......@@ -21,16 +21,15 @@ object CpmdParser extends SimpleExternalParserGenerator(
)) :: Nil
),
mainFileTypes = Seq("text/.*"),
mainFileRe = """ \*\*\*\* \*\*\*\* \*\*\*\*\*\* \*\* PROGRAM STARTED AT\s(?<cpmdStartedAt>.*)
\*\*\*\*\* \*\* \*\*\* \*\*\* \*\* PROGRAM STARTED ON\s*.*
\*\* \*\*\*\* \*\*\*\*\*\* PROGRAM STARTED BY .*
\*\*\*\*\* \*\* \*\* \*\* \*\* PROGRAM PROCESS ID .*
\*\*\*\* \*\* \*\*\*\*\*\*\* \*\* PROGRAM STARTED IN .*
(?:\s*\n| \s+.*
)*
(?:\s*CP2K\| version string:\s*(?<cpmdVersionString>.*)
)?(?:\s*CP2K\| source code revision number:\s*(?<cpmdRevision>.*)
)?""".r,
mainFileRe = """ \*\*\*\*\*\* \*\*\*\*\*\* \*\*\*\* \*\*\*\* \*\*\*\*\*\*
\*\*\*\*\*\*\* \*\*\*\*\*\*\* \*\*\*\*\*\*\*\*\*\* \*\*\*\*\*\*\*
\*\*\* \*\* \*\*\* \*\* \*\*\*\* \*\* \*\* \*\*\*
\*\* \*\* \*\*\* \*\* \*\* \*\* \*\* \*\*
\*\* \*\*\*\*\*\*\* \*\* \*\* \*\* \*\*
\*\*\* \*\*\*\*\*\* \*\* \*\* \*\* \*\*\*
\*\*\*\*\*\*\* \*\* \*\* \*\* \*\*\*\*\*\*\*
\*\*\*\*\*\* \*\* \*\* \*\* \*\*\*\*\*\*
""".r,
cmd = Seq(DefaultPythonInterpreter.pythonExe(), "${envDir}/parsers/cpmd/parser/parser-cpmd/cpmdparser/scalainterface.py",
"${mainFilePath}"),
cmdCwd = "${mainFilePath}/..",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment