Commit 6a58ab6c authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

fix detection in scala part

parent 67103a56
......@@ -22,7 +22,9 @@ object QhpParser extends SimpleExternalParserGenerator(
)) :: Nil
),
mainFileTypes = Seq("text/.*"),
mainFileRe = """\.\s*QHP \.\.\.""".r,
mainFileRe = """# QHA 1\.0\s*
\s*
""".r,
cmd = Seq(DefaultPythonInterpreter.pythonExe(), "${envDir}/parsers/quasi-harmonic-properties/parser/parser-quasi-harmonic-properties/qhp.py", "${mainFileUri}", "${mainFilePath}"),
resList = Seq(
"parser-quasi-harmonic-properties/qhp.py",
......
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