FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit fb81c8e5 authored by Mark Driver's avatar Mark Driver
Browse files

update to fix bugs in VLE output bool reading and create output dir for VLE runner.

parent 6c202271
No related branches found
No related tags found
No related merge requests found
Pipeline #27007 failed
......@@ -179,10 +179,11 @@ class OutputInformation(object):
VLE output option.
"""
xpath_expression = "phasecalc:FGIPOutput/text()"
xpath_expression = "phasecalc:VLEOutput/text()"
vle_output = output_xml.xpath(
xpath_expression, namespaces=PHASE_CALC_NAMESPACE_DICT
)[0]
LOGGER.debug("VLE output: %s", vle_output)
return True if vle_output == "true" else False
def write_to_xml(self):
......
......@@ -191,6 +191,7 @@ def run_vle_analysis(system_info, phase_filename, **kwargs):
phase_output_filename = create_phase_output_filename(phase_filename)
csv_filename = create_phase_summary_filename(system_info.runtime_information.output_dir,
phase_filename)
create_output_dir(system_info)
vlerun.calculate_and_process_vle_data(
jar_path, phase_filename, phase_output_filename,
csv_filename, **kwargs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment