diff --git a/src/simulation_parameters.h b/src/simulation_parameters.h index b8caf61..0e2b264 100644 --- a/src/simulation_parameters.h +++ b/src/simulation_parameters.h @@ -181,6 +181,11 @@ typedef struct simulation_parameters if (n_dummy_scan < 0) n_dummy_scan = 5.0 * T1_ms[0] / TR_us * 1e3; + if (n_TE == 1) + { + BOOST_LOG_TRIVIAL(error) << "Echo time is not set"; + return false; + } if (mask_exist == false) { BOOST_LOG_TRIVIAL(error) << "Mask with labeled tissues is not provided"; diff --git a/src/spinwalk.cu b/src/spinwalk.cu index ee15aed..8918141 100644 --- a/src/spinwalk.cu +++ b/src/spinwalk.cu @@ -176,9 +176,8 @@ bool run(simulation_parameters param, std::map TE; + for(int i=0; i