Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
parser-molcas
Commits
d90138cf
Commit
d90138cf
authored
Nov 04, 2016
by
Mohamed, Fawzi Roberto (fawzi)
Browse files
fix and improve (make more strict) the molcas files detection
parent
6f0a2e97
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/scala/eu/nomad_lab/parsers/MolcasParser.scala
View file @
d90138cf
...
...
@@ -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}"
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment