Closed joefutrelle closed 1 year ago
This line of code will fail if length(adcfilename) > 1, since looktime will be the same size as adcfilename:
length(adcfilename)
looktime
adcfilename
https://github.com/hsosik/ifcb-analysis/blob/84804f89e9134f8e11ba21e61bcf76a7979ef8d9/IFCB_tools/IFCB_volume_analyzed_fromADC.m#L64
I believe that code was intended to be run inside the loop, like it is here:
https://github.com/hsosik/ifcb-analysis/blob/84804f89e9134f8e11ba21e61bcf76a7979ef8d9/IFCB_tools/IFCB_volume_analyzed.m#L46
Fixed in commit: b076862
This line of code will fail if
length(adcfilename)
> 1, sincelooktime
will be the same size asadcfilename
:https://github.com/hsosik/ifcb-analysis/blob/84804f89e9134f8e11ba21e61bcf76a7979ef8d9/IFCB_tools/IFCB_volume_analyzed_fromADC.m#L64
I believe that code was intended to be run inside the loop, like it is here:
https://github.com/hsosik/ifcb-analysis/blob/84804f89e9134f8e11ba21e61bcf76a7979ef8d9/IFCB_tools/IFCB_volume_analyzed.m#L46