From ec119b530960a6dcd24447712d5cc882a7eca26c Mon Sep 17 00:00:00 2001 From: Hugo Oliveira Date: Mon, 26 Apr 2021 14:47:49 +1000 Subject: [PATCH] fix: remove tabs in testadcpBinMappingPP --- test/Preprocessing/testadcpBinMappingPP.m | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/test/Preprocessing/testadcpBinMappingPP.m b/test/Preprocessing/testadcpBinMappingPP.m index 1d7e0a0c0..518f3b1ea 100644 --- a/test/Preprocessing/testadcpBinMappingPP.m +++ b/test/Preprocessing/testadcpBinMappingPP.m @@ -60,19 +60,19 @@ function test_mapping_RDI_beam_velocity(test) function test_removal_of_dangling_dist_along_beams_dims(test) s = workhorseParse(test.rdi_file, ''); - %remove perg variables - perg1_ind = IMOS.find(s.variables,'PERG1'); - perg2_ind = IMOS.find(s.variables,'PERG2'); - perg3_ind = IMOS.find(s.variables,'PERG3'); - perg4_ind = IMOS.find(s.variables,'PERG4'); - inds = 1:length(s.variables); - no_dab_inds = setxor(inds,[perg1_ind,perg2_ind,perg3_ind,perg4_ind]); - s.variables = s.variables(no_dab_inds); - - bs = adcpBinMappingPP({s}, ''); + %remove perg variables + perg1_ind = IMOS.find(s.variables, 'PERG1'); + perg2_ind = IMOS.find(s.variables, 'PERG2'); + perg3_ind = IMOS.find(s.variables, 'PERG3'); + perg4_ind = IMOS.find(s.variables, 'PERG4'); + inds = 1:length(s.variables); + no_dab_inds = setxor(inds, [perg1_ind, perg2_ind, perg3_ind, perg4_ind]); + s.variables = s.variables(no_dab_inds); + + bs = adcpBinMappingPP({s}, ''); bs = bs{1}; - bin_mapping_string = 'has been vertically bin-mapped to HEIGHT_ABOVE_SENSOR using tilt information'; + bin_mapping_string = 'has been vertically bin-mapped to HEIGHT_ABOVE_SENSOR using tilt information'; dim_removed_string = 'DIST_ALONG_BEAMS is not used by any variable left and has been removed'; assert(isfield(bs, 'history'))