取消模拟计算过程中的计算结果屏幕输出

This commit is contained in:
xinzish
2025-11-13 15:49:59 +08:00
parent 50ad0107fa
commit a6a055a837

View File

@@ -298,7 +298,7 @@ def run_project(name: str, readable_output: bool = False) -> str:
# DingZQ, 2025-06-02, 使用subprocess.Popen捕获输出到全局日志, 原来的代码是这么写的
result = os.system(command)
logging.info(f"Simulation result: {result}")
#logging.info(f"Simulation result: {result}")
if result != 0:
data['simulation_result'] = 'failed'
@@ -315,7 +315,7 @@ def run_project(name: str, readable_output: bool = False) -> str:
data['output'] = dump_output_binary(opt)
data['report'] = dump_report(rpt)
logging.info(f"Report: {data['report']}")
#logging.info(f"Report: {data['report']}")
return json.dumps(data)