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
......@@ -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*
cmd = Seq(DefaultPythonInterpreter.pythonExe(), "${envDir}/parsers/molcas/parser/parser-molcas/",
"--uri", "${mainFileUri}", "${mainFilePath}"),
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