Commit 1d840b18 authored by Ask Hjorth Larsen's avatar Ask Hjorth Larsen

attempt at regex to recognize main file

parent e881a57b
......@@ -21,10 +21,11 @@ object MolcasParser extends SimpleExternalParserGenerator(
)) :: Nil
),
mainFileTypes = Seq("text/.*"),
mainFileRe = """Regex
for
molcas
mainfile
mainFileRe = """.*
.*
.*
[\s^]*M O L C A S
[\s^]*version \S+ patchlevel \S+
""".r,
cmd = Seq(DefaultPythonInterpreter.pythonExe(), "${envDir}/parsers/molcas/parser/parser-molcas/main.py",
"--uri", "${mainFileUri}", "${mainFilePath}"),
......
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