Mentions légales du service

Skip to content
Snippets Groups Projects
Commit f5a67f0e authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Proper code for the error reporter

parent 2a0c9faa
No related branches found
No related tags found
No related merge requests found
......@@ -146,13 +146,13 @@ def main2(chart_file, cam_file, cam_step_file, cam_complete_file, cam_strong_fil
# final_prop = "not ("+final_prop+" and "+inv_prop+")"
"""
# Build MCLA
error_reporter = ErrorRep()
mcla = MCLAnalyser(error_reporter)
# Build MCLA with Error Reporter
mcla = MCLAnalyser(ErrorRep())
# Load model file
detect_model_type(mcla, chart_file)(chart_file)
if error_reporter.error:
if mcla.reporter.error:
raise "Error during loading of file"
......
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