Skip to content
Snippets Groups Projects
Commit d90138cf authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

fix and improve (make more strict) the molcas files detection

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