Skip to content
Snippets Groups Projects
Commit 8db2877c authored by Christophe Bradley Smith's avatar Christophe Bradley Smith
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
% I am not happy with how these files work
% 1. load in the transcribed file + the original
% 2. Purge the labels from the original
% resetLabelValues(lss)
% 3. Copy the transcribed labels to the original
% setLabelValue?
% For testing
load('C:\Users\chris\Box\Nelson Lab Data\Other Data\NTAud Transcription\Transcript_OrigAudio_AudSentStim.mat', 'lss');
test = load('C:\Users\chris\Box\Nelson Lab Data\Other Data\NTAud Transcription\Transcript_Version2_AudSent.mat');
ls = test.lss;
% Search the workspace for ls and lss
% Remove labels for lss
resetLabelValues(lss)
% Relable lss using ls
nTrials = height(test.lss.Labels);
for iTrial = 1:nTrials
nWords = height(test.lss.Labels.Words{iTrial});
setLabelValue(lss, iTrial, 'Words', test.lss.Labels.Words{iTrial}.ROILimits, test.lss.Labels.Words{iTrial}.Value)
end
%
% Code will be run after student saves the file to the workspace
% Check workspace to find ls, lss, and
% add functionality to check if sessions have been edited compare ROI and
% script
% Save the file and save the current progress
% Use a uiget element to delect save location
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment