Skip to content

Commit 09b7ca9

Browse files
committed
remove audio data from the cfg before saving it
to make sure that the json output is shorter than my list of complaints on how scientists manage data.
1 parent faa5ff9 commit 09b7ca9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

audioLocTranslational.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,9 @@
151151
getResponse('release', cfg.keyboard.responseBox);
152152

153153
eyeTracker('Shutdown', cfg);
154-
154+
155+
% remove the sound data from the cfg before saving it.
156+
cfg = rmfield(cfg, 'soundData');
155157
createJson(cfg, cfg);
156158

157159
farewellScreen(cfg);

0 commit comments

Comments
 (0)