Skip to content

Commit

Permalink
fix: remove tabs in testadcpBinMappingPP
Browse files Browse the repository at this point in the history
  • Loading branch information
ocehugo committed Apr 26, 2021
1 parent d612070 commit ec119b5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test/Preprocessing/testadcpBinMappingPP.m
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down

0 comments on commit ec119b5

Please sign in to comment.