Bugfix/nbi err handling
2 unresolved threads
2 unresolved threads
Fixing the error handling as suggested in #45.
I did not change it in all the places, and I won't do it now
Edited by Federico Felici
Merge request reports
Activity
requested review from @ffelici
2498 2499 nodenameeff = '\ATLAS::NB1.DATA.MODEL:POWR_NEUTRAL'; 2499 2500 end 2500 2501 model_data=tdi(model_signame); 2501 if isempty(model_data.dim) 2502 if ~rem(model_data.status,2) For the other cases you also check also the data. But if you get an MDS error for this node in cases NBI was not requested, this is ok.
Edited by Federico Felici
2535 2536 % NB2 2536 2537 nodenameeff = '\results::NB2:POWR_TCV'; 2537 2538 nb2_data_tdi = tdi(nodenameeff); 2538 if ~isempty(nb2_data_tdi.dim) && ~ischar(nb2_data_tdi.data) && ~isempty(nb2_data_tdi.dim) 2539 if rem(nb2_data_tdi.status,2) 2539 2540 nbi_neutral_power_tot = nb2_data_tdi.data.*1e6; % in W - Edited by Federico Felici
Thank you @vallar I quickly reviewed it
Please register or sign in to reply