Skip to content
Snippets Groups Projects
Commit 1d840b18 authored by Ask Hjorth Larsen's avatar Ask Hjorth Larsen
Browse files

attempt at regex to recognize main file

parent e881a57b
Branches
Tags
No related merge requests found
...@@ -21,10 +21,11 @@ object MolcasParser extends SimpleExternalParserGenerator( ...@@ -21,10 +21,11 @@ object MolcasParser extends SimpleExternalParserGenerator(
)) :: Nil )) :: Nil
), ),
mainFileTypes = Seq("text/.*"), mainFileTypes = Seq("text/.*"),
mainFileRe = """Regex mainFileRe = """.*
for .*
molcas .*
mainfile [\s^]*M O L C A S
[\s^]*version \S+ patchlevel \S+
""".r, """.r,
cmd = Seq(DefaultPythonInterpreter.pythonExe(), "${envDir}/parsers/molcas/parser/parser-molcas/main.py", cmd = Seq(DefaultPythonInterpreter.pythonExe(), "${envDir}/parsers/molcas/parser/parser-molcas/main.py",
"--uri", "${mainFileUri}", "${mainFilePath}"), "--uri", "${mainFileUri}", "${mainFilePath}"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment