bug 处理
This commit is contained in:
parent
8a8b7dae70
commit
15caccdd9e
@ -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);
|
||||
|
@ -79,7 +79,7 @@ public class ShellUtil {
|
||||
// 如果命令执行失败,可以选择停止执行后续命令
|
||||
if (exitCode != 0) {
|
||||
System.out.println("Command failed, stopping script execution");
|
||||
break;
|
||||
throw new Exception("Command failed");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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!"
|
||||
|
@ -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!"
|
||||
|
Loading…
Reference in New Issue
Block a user