diff --git a/load/osp_LoadTwix.m b/load/osp_LoadTwix.m index c5a40f69..94f328be 100644 --- a/load/osp_LoadTwix.m +++ b/load/osp_LoadTwix.m @@ -74,6 +74,8 @@ raw_ref = io_loadspec_twix(MRSCont.files_ref{ref_ll,kk}); raw_ref = op_leftshift(raw_ref,raw_ref.pointsToLeftshift); MRSCont.raw_ref_uncomb{ref_ll,kk} = raw_ref; + else + ref_ll = 1; end if MRSCont.flags.hasWater w_ll = MRSCont.opts.MultipleSpectra.w(ll);