Skip to content

Commit 1fbfea2

Browse files
authored
Merge pull request #43 from Remi-Gau/remi-test_20210303
[ENH] update after testing 20210303
2 parents b7164d9 + 1fb3bcf commit 1fbfea2

20 files changed

+72
-43
lines changed

.all-contributorsrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,23 @@
1616
"ideas"
1717
]
1818
},
19+
{
20+
"login": "Remi-Gau",
21+
"name": "Remi Gau",
22+
"avatar_url": "https://avatars3.githubusercontent.com/u/6961185?v=4",
23+
"profile": "https://remi-gau.github.io/",
24+
"contributions": [
25+
"code",
26+
"design",
27+
"ideas",
28+
"bug",
29+
"userTesting",
30+
"review",
31+
"question",
32+
"infra",
33+
"maintenance"
34+
]
35+
},
1936
{
2037
"login": "marcobarilari",
2138
"name": "marcobarilari",

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![](https://img.shields.io/badge/Octave-CI-blue?logo=Octave&logoColor=white)](https://github.com/cpp-lln-lab/localizer_auditory_motion/actions)
22
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
3-
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)
3+
[![All Contributors](https://img.shields.io/badge/all_contributors-3-orange.svg?style=flat-square)](#contributors-)
44
<!-- ALL-CONTRIBUTORS-BADGE:END -->
55
![](https://github.com/cpp-lln-lab/localizer_auditory_motion/workflows/CI/badge.svg)
66

@@ -143,6 +143,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
143143
<table>
144144
<tr>
145145
<td align="center"><a href="https://github.com/mohmdrezk"><img src="https://avatars2.githubusercontent.com/u/9597815?v=4" width="100px;" alt=""/><br /><sub><b>Mohamed Rezk</b></sub></a><br /><a href="https://github.com/cpp-lln-lab/localizer_auditory_motion/commits?author=mohmdrezk" title="Code">💻</a> <a href="#design-mohmdrezk" title="Design">🎨</a> <a href="#ideas-mohmdrezk" title="Ideas, Planning, & Feedback">🤔</a></td>
146+
<td align="center"><a href="https://remi-gau.github.io/"><img src="https://avatars3.githubusercontent.com/u/6961185?v=4" width="100px;" alt=""/><br /><sub><b>Remi Gau</b></sub></a><br /><a href="https://github.com/cpp-lln-lab/localizer_auditory_motion/commits?author=Remi-Gau" title="Code">💻</a> <a href="#design-Remi-Gau" title="Design">🎨</a> <a href="#ideas-Remi-Gau" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/cpp-lln-lab/localizer_auditory_motion/issues?q=author%3ARemi-Gau" title="Bug reports">🐛</a> <a href="#userTesting-Remi-Gau" title="User Testing">📓</a> <a href="https://github.com/cpp-lln-lab/localizer_auditory_motion/pulls?q=is%3Apr+reviewed-by%3ARemi-Gau" title="Reviewed Pull Requests">👀</a> <a href="#question-Remi-Gau" title="Answering Questions">💬</a> <a href="#infra-Remi-Gau" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-Remi-Gau" title="Maintenance">🚧</a></td>
146147
<td align="center"><a href="https://github.com/marcobarilari"><img src="https://avatars3.githubusercontent.com/u/38101692?v=4" width="100px;" alt=""/><br /><sub><b>marcobarilari</b></sub></a><br /><a href="https://github.com/cpp-lln-lab/localizer_auditory_motion/commits?author=marcobarilari" title="Code">💻</a> <a href="#design-marcobarilari" title="Design">🎨</a> <a href="#ideas-marcobarilari" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/cpp-lln-lab/localizer_auditory_motion/issues?q=author%3Amarcobarilari" title="Bug reports">🐛</a> <a href="#userTesting-marcobarilari" title="User Testing">📓</a> <a href="https://github.com/cpp-lln-lab/localizer_auditory_motion/pulls?q=is%3Apr+reviewed-by%3Amarcobarilari" title="Reviewed Pull Requests">👀</a> <a href="#question-marcobarilari" title="Answering Questions">💬</a> <a href="#infra-marcobarilari" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-marcobarilari" title="Maintenance">🚧</a></td>
147148
</tr>
148149
</table>

audioLocTranslational.m

100644100755
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
% Prepare for the output logfiles with all
4747
logFile.extraColumns = cfg.extraColumns;
48+
logFile = saveEventsFile('init', cfg, logFile);
4849
logFile = saveEventsFile('open', cfg, logFile);
4950

5051
% disp(cfg);
@@ -85,13 +86,15 @@
8586
thisEvent.fixationTarget = cfg.design.fixationTargets(iBlock, iEvent);
8687
thisEvent.soundTarget = cfg.design.soundTargets(iBlock, iEvent);
8788

89+
thisEvent.isStim = logFile.isStim;
90+
8891
% we wait for a trigger every 2 events
8992
if cfg.pacedByTriggers.do && mod(iEvent, 2) == 1
9093
waitForTrigger( ...
91-
cfg, ...
92-
cfg.keyboard.responseBox, ...
93-
cfg.pacedByTriggers.quietMode, ...
94-
cfg.pacedByTriggers.nbTriggers);
94+
cfg, ...
95+
cfg.keyboard.responseBox, ...
96+
cfg.pacedByTriggers.quietMode, ...
97+
cfg.pacedByTriggers.nbTriggers);
9598
end
9699

97100
% % % REFACTOR THIS FUNCTION % % %
@@ -116,7 +119,7 @@
116119
% collect the responses and appends to the event structure for
117120
% saving in the tsv file
118121
responseEvents = getResponse('check', cfg.keyboard.responseBox, cfg, ...
119-
getOnlyPress);
122+
getOnlyPress);
120123

121124
triggerString = ['trigger_' cfg.design.blockNames{iBlock}];
122125
saveResponsesAndTriggers(responseEvents, cfg, logFile, triggerString);
@@ -132,7 +135,7 @@
132135

133136
% trigger monitoring
134137
triggerEvents = getResponse('check', cfg.keyboard.responseBox, cfg, ...
135-
getOnlyPress);
138+
getOnlyPress);
136139

137140
triggerString = 'trigger_baseline';
138141
saveResponsesAndTriggers(triggerEvents, cfg, logFile, triggerString);

initEnv.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656

5757
if numel(dir(libDirectory)) <= 2 % Means that the external is empty
5858
error(['Git submodules are not cloned!', ...
59-
'Try this in your terminal:', ...
60-
' git submodule update --recursive ']);
59+
'Try this in your terminal:', ...
60+
' git submodule update --recursive ']);
6161
else
6262
addDependencies();
6363
end
-604 KB
Binary file not shown.
-604 KB
Binary file not shown.
-8.95 KB
Binary file not shown.
-8.95 KB
Binary file not shown.
-604 KB
Binary file not shown.
-604 KB
Binary file not shown.

0 commit comments

Comments
 (0)