Commit 0641893c authored by Mohamed, Fawzi Roberto (fawzi)'s avatar Mohamed, Fawzi Roberto (fawzi)
Browse files

fixing scala integration

parent 007a72d8
......@@ -12,6 +12,5 @@ if __name__ == "__main__":
# Initialise the parser with the main filename and a JSON backend
main_file = sys.argv[1]
print main_file
parser = CP2KParser(main_file, backend=JsonParseEventsWriterBackend)
parser.parse()
......@@ -30,27 +30,22 @@ object Cp2kParser extends SimpleExternalParserGenerator(
)?(?:\s*CP2K\| source code revision number:\s*(?<cp2kRevision>.*)
)?""".r,
cmd = Seq(DefaultPythonInterpreter.python2Exe(), "${envDir}/parsers/cp2k/parser/parser-cp2k/cp2kparser/scalainterface.py",
"--uri", "${mainFileUri}", "${mainFilePath}"),
"${mainFilePath}"),
cmdCwd = "${mainFilePath}/..",
resList = Seq(
"parser-cp2k/cp2kparser/utils/baseclasses.py",
"parser-cp2k/cp2kparser/utils/testing.py",
"parser-cp2k/setup.py",
"parser-cp2k/cp2kparser/setup_paths.py",
"parser-cp2k/cp2kparser/__init__.py",
"parser-cp2k/cp2kparser/utils/__init__.py",
"parser-cp2k/cp2kparser/utils/logconfig.py",
"parser-cp2k/cp2kparser/__init__.py",
"parser-cp2k/cp2kparser/parsing/versions/__init__.py",
"parser-cp2k/cp2kparser/parsing/versions/cp2k262/inputparsing.py",
"parser-cp2k/cp2kparser/utils/testing.py",
"parser-cp2k/cp2kparser/utils/baseclasses.py",
"parser-cp2k/cp2kparser/parsing/__init__.py",
"parser-cp2k/cp2kparser/parsing/versions/cp2k262/__init__.py",
"parser-cp2k/cp2kparser/parsing/versions/cp2k262/implementation.py",
"parser-cp2k/cp2kparser/parsing/versions/cp2k262/outputparser.py",
"parser-cp2k/cp2kparser/parsing/versions/cp2k262/mainparser.py",
"parser-cp2k/cp2kparser/parsing/versions/__init__.py",
"parser-cp2k/cp2kparser/parsing/versions/versionsetup.py",
"parser-cp2k/cp2kparser/parsing/__init__.py",
"parser-cp2k/cp2kparser/parsing/cp2kinputenginedata/xmlpreparser.py",
"parser-cp2k/cp2kparser/parsing/cp2kinputenginedata/__init__.py",
"parser-cp2k/cp2kparser/parsing/cp2kinputenginedata/input_tree.py",
"parser-cp2k/cp2kparser/parsing/parser.py",
"parser-cp2k/cp2kparser/parsing/csvparsing.py",
"parser-cp2k/cp2kparser/setup_paths.py",
"parser-cp2k/cp2kparser/scalainterface.py",
"nomad_meta_info/public.nomadmetainfo.json",
"nomad_meta_info/common.nomadmetainfo.json",
......
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