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
1d840b18
Commit
1d840b18
authored
Oct 10, 2016
by
Ask Hjorth Larsen
Browse files
attempt at regex to recognize main file
parent
e881a57b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/scala/eu/nomad_lab/parsers/MolcasParser.scala
View file @
1d840b18
...
...
@@ -21,10 +21,11 @@ object MolcasParser extends SimpleExternalParserGenerator(
))
::
Nil
),
mainFileTypes
=
Seq
(
"text/.*"
),
mainFileRe
=
"""Regex
for
molcas
mainfile
mainFileRe
=
""".*
.*
.*
[\s^]*M O L C A S
[\s^]*version \S+ patchlevel \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