diff --git a/matlab/TCV/gdat_tcv.m b/matlab/TCV/gdat_tcv.m index 7f4dd7f1b850f6e70a0201e5b9e3a34402b26e68..44d240e8d14001c4e44d167c6e460ac1d9163182 100644 --- a/matlab/TCV/gdat_tcv.m +++ b/matlab/TCV/gdat_tcv.m @@ -1756,7 +1756,6 @@ elseif strcmp(mapping_for_tcv.method,'switchcase') filled_successfully = true; %set flag to true catch ME warning('Problem retrieving TORAY data. \nError message: %s',ME.message); - getReport(ME) % without ; to get output % try to identify cause of the error if ~check_nodes_filled(shot,'toray') if ~isempty(ec_inputs.launchers_active) @@ -1765,6 +1764,8 @@ elseif strcmp(mapping_for_tcv.method,'switchcase') else msg = 'write_pyro(shot) found active launchers, but TORAY nodes are not filled, check hldsi(shot), and (ask to) relaunch TORAY.'; end + else + msg = 'No active launchers in this shot. There was probably no EC in this shot.'; end elseif ~isempty(gdat_data.gdat_params.trialindx) msg = 'Is the trial index filled? Check TORAY nodes with hdlsi(shot).';