bug 处理

This commit is contained in:
朱春云 2025-09-05 10:42:41 +08:00
parent 8a8b7dae70
commit 15caccdd9e
4 changed files with 4 additions and 4 deletions

View File

@ -189,7 +189,7 @@ public class PatientScriptServiceImpl implements PatientScriptService {
@Override
public Boolean save(PatientScript patientScript) throws IOException, InterruptedException, TemplateException {
public Boolean save(PatientScript patientScript) {
try {
patientScript.setStatus("生成中");
scriptMapper.updateStatus(patientScript);

View File

@ -79,7 +79,7 @@ public class ShellUtil {
// 如果命令执行失败可以选择停止执行后续命令
if (exitCode != 0) {
System.out.println("Command failed, stopping script execution");
break;
throw new Exception("Command failed");
}
}

View File

@ -12,7 +12,7 @@ cp Node_AAL116.node config.mat config2.mat config3.mat config4.mat BrainMesh_Ch2
python ${matrixPath}main.py --sub_id ${subId} --root_dir ${fmriOutPath} --module_dir /data/config/models_9_9 --matrix_path ${matrixPath}
python ${matrixPath}number_change_script.py --age ${age}
python ${matrixPath}number_change_script.py --age ${age} --matrix_path ${matrixPath}
python ${matrixPath}extract_regions.py
echo "main handle end!"

View File

@ -14,7 +14,7 @@ cp Node_AAL116.node config.mat config2.mat config3.mat config4.mat BrainMesh_Ch2
python ${matrixPath}main_dti.py --sub_id ${subId} --root_dir ${fmriOutPath} --module_dir /data/config/models_0_0 --matrix_path ${matrixPath}
python ${matrixPath}number_change_script.py --age ${age}
python ${matrixPath}number_change_script.py --age ${age} --matrix_path ${matrixPath}
python ${matrixPath}extract_regions.py
echo "main handle end!"