From ce5af1f4d73d157e362e999ceb1cb4e4b2bfbbb1 Mon Sep 17 00:00:00 2001
From: cbsmith2 <cbsmith2@uab.edu>
Date: Tue, 11 Mar 2025 19:14:27 -0500
Subject: [PATCH] Fixed object reference in TransferLabels function.

---
 SaveTranscriptions.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SaveTranscriptions.m b/SaveTranscriptions.m
index d270286..669df43 100644
--- a/SaveTranscriptions.m
+++ b/SaveTranscriptions.m
@@ -121,7 +121,7 @@ for iTrial = 1:nTrials
     % Set sublabel Values
     subLabelList = split(strtrim(extract(labelDefinitionsHierarchy(lss), regexpPattern('(?<=Sublabels:).*'))));
     for curLabel = subLabelList'
-        setLabelValue(lss, iTrial, ["Words", string(curLabel)], lss.Labels.Words{1}.Sublabels.(curLabel{1}), 'LabelRowIndex', 1)
+        setLabelValue(lss, iTrial, ["Words", string(curLabel)], ls.Labels.Words{1}.Sublabels.(curLabel{1}), 'LabelRowIndex', 1)
     end
 end
 
-- 
GitLab