Planned maintenance on Wednesday, 2021-01-20, 17:00-18:00. Expect some interruptions during that time

correctly expand paths for ancillary files, fix scala calling command

parent cc261e34
......@@ -54,15 +54,16 @@ def parse(output_file_name):
jbe = JsonParseEventsWriterBackend(meta_info_env)
jbe.startedParsingSession(output_file_name, parser_info)
base_dir = os.path.dirname(os.path.abspath(output_file_name))
# PARSE CONTROLS ...
ctrl_file_name = 'CONTROL'
ctrl_file_name = os.path.join(base_dir, 'CONTROL')
terminal_ctrls = DlPolyControls(osio)
terminal_ctrls.ParseControls(ctrl_file_name)
# PARSE OUTPUT / TOPOLOGY ...
terminal = DlPolyParser(osio)
terminal.ParseOutput(output_file_name)
# PARSE TRAJECTORY ...
cfg_file_name = 'CONFIG'
cfg_file_name = os.path.join(base_dir, 'CONFIG')
terminal_trj = DlPolyConfig(osio)
terminal_trj.ParseConfig(cfg_file_name)
# SUMMARIZE KEY-TABLE DEFAULTS ...
......
......@@ -21,7 +21,7 @@ object DlPolyParser extends SimpleExternalParserGenerator(
mainFileTypes = Seq("text/.*"),
mainFileRe = """ DL_POLY """.r,
cmd = Seq(DefaultPythonInterpreter.python2Exe(), "${envDir}/parsers/dl_poly/parser/parser-dl_poly/dlPolyParser.py",
"--uri", "${mainFileUri}", "${mainFilePath}"),
"${mainFilePath}"),
resList = Seq(
"parser-dl_poly/dlPolyParser.py",
"parser-dl_poly/libDlPolyParser.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