Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Transcription Save Script
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christophe Bradley Smith
Transcription Save Script
Commits
8db2877c
Commit
8db2877c
authored
2 months ago
by
Christophe Bradley Smith
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parents
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SaveTranscriptions.m
+36
-0
36 additions, 0 deletions
SaveTranscriptions.m
with
36 additions
and
0 deletions
SaveTranscriptions.m
0 → 100644
+
36
−
0
View file @
8db2877c
% 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment