{"action":"created","comment":{"url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls/comments/73548791","id":73548791,"diff_hunk":"@@ -121,23 +121,49 @@\n end\n TaskParameters.GUI.StimDelay = BpodSystem.Data.Custom.StimDelay(end);\n \n-if TaskParameters.GUI.FeedbackDelayAutoincrement\n-    if ~BpodSystem.Data.Custom.Feedback(end-1)\n-        BpodSystem.Data.Custom.FeedbackDelay(end+1) = max(TaskParameters.GUI.FeedbackDelayMin,...\n-            BpodSystem.Data.Custom.FeedbackDelay(end)-TaskParameters.GUI.FeedbackDelayDecr);\n-    else\n-        BpodSystem.Data.Custom.FeedbackDelay(end+1) = min(TaskParameters.GUI.FeedbackDelayMax,...\n-            BpodSystem.Data.Custom.FeedbackDelay(end)+TaskParameters.GUI.FeedbackDelayIncr);\n-    end\n-    TaskParameters.GUI.FeedbackDelay = BpodSystem.Data.Custom.FeedbackDelay(end);\n-else\n-%     ATTEMPT TO GRAY OUT FIELDS\n-%     if ~strcmp('edit',TaskParameters.GUIMeta.FeedbackDelay.Style)\n-%         TaskParameters.GUIMeta.FeedbackDelay.Style = 'edit';\n-%     end\n-    BpodSystem.Data.Custom.FeedbackDelay(end+1) = TaskParameters.GUI.FeedbackDelayMax;\n-    TaskParameters.GUI.FeedbackDelay = TaskParameters.GUI.FeedbackDelayMax;\n+% if TaskParameters.GUI.FeedbackDelayAutoincrement\n+switch TaskParameters.GUIMeta.FeedbackDelaySelection.String{TaskParameters.GUI.FeedbackDelaySelection}\n+    case 'FixAuto'","path":"updateCustomDataFields.m","position":22,"original_position":22,"commit_id":"b7a3f24ec1733352b11b4119e6e8cb3d8d10f48b","original_commit_id":"b7a3f24ec1733352b11b4119e6e8cb3d8d10f48b","user":{"login":"tsgouvea","id":19614840,"avatar_url":"https://avatars.githubusercontent.com/u/19614840?v=3","gravatar_id":"","url":"https://api.github.com/users/tsgouvea","html_url":"https://github.com/tsgouvea","followers_url":"https://api.github.com/users/tsgouvea/followers","following_url":"https://api.github.com/users/tsgouvea/following{/other_user}","gists_url":"https://api.github.com/users/tsgouvea/gists{/gist_id}","starred_url":"https://api.github.com/users/tsgouvea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsgouvea/subscriptions","organizations_url":"https://api.github.com/users/tsgouvea/orgs","repos_url":"https://api.github.com/users/tsgouvea/repos","events_url":"https://api.github.com/users/tsgouvea/events{/privacy}","received_events_url":"https://api.github.com/users/tsgouvea/received_events","type":"User","site_admin":false},"body":"Same as above, for consistency.","created_at":"2016-08-04T15:48:26Z","updated_at":"2016-08-04T15:48:26Z","html_url":"https://github.com/KepecsLab/BpodProtocols_Olf2AFC/pull/10#discussion_r73548791","pull_request_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls/comments/73548791"},"html":{"href":"https://github.com/KepecsLab/BpodProtocols_Olf2AFC/pull/10#discussion_r73548791"},"pull_request":{"href":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls/10","id":79953888,"html_url":"https://github.com/KepecsLab/BpodProtocols_Olf2AFC/pull/10","diff_url":"https://github.com/KepecsLab/BpodProtocols_Olf2AFC/pull/10.diff","patch_url":"https://github.com/KepecsLab/BpodProtocols_Olf2AFC/pull/10.patch","issue_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/issues/10","number":10,"state":"open","locked":false,"title":"Random waiting time","user":{"login":"torbencshl","id":20175516,"avatar_url":"https://avatars.githubusercontent.com/u/20175516?v=3","gravatar_id":"","url":"https://api.github.com/users/torbencshl","html_url":"https://github.com/torbencshl","followers_url":"https://api.github.com/users/torbencshl/followers","following_url":"https://api.github.com/users/torbencshl/following{/other_user}","gists_url":"https://api.github.com/users/torbencshl/gists{/gist_id}","starred_url":"https://api.github.com/users/torbencshl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torbencshl/subscriptions","organizations_url":"https://api.github.com/users/torbencshl/orgs","repos_url":"https://api.github.com/users/torbencshl/repos","events_url":"https://api.github.com/users/torbencshl/events{/privacy}","received_events_url":"https://api.github.com/users/torbencshl/received_events","type":"User","site_admin":false},"body":"Added option for random feedback delay. Changed auto increment option to popupmenu selection.\r\n\r\nThe updateCustomDataFields.m shows a new section, which is commented out. I don't know where this is coming from (not from me), so I left in in there.","created_at":"2016-08-03T18:20:18Z","updated_at":"2016-08-04T15:48:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"168726731b009c0daa24ba70f9d9078bed0a4cda","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls/10/commits","review_comments_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls/10/comments","review_comment_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/issues/10/comments","statuses_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/statuses/b7a3f24ec1733352b11b4119e6e8cb3d8d10f48b","head":{"label":"KepecsLab:random_waiting_time_2","ref":"random_waiting_time_2","sha":"b7a3f24ec1733352b11b4119e6e8cb3d8d10f48b","user":{"login":"KepecsLab","id":1930884,"avatar_url":"https://avatars.githubusercontent.com/u/1930884?v=3","gravatar_id":"","url":"https://api.github.com/users/KepecsLab","html_url":"https://github.com/KepecsLab","followers_url":"https://api.github.com/users/KepecsLab/followers","following_url":"https://api.github.com/users/KepecsLab/following{/other_user}","gists_url":"https://api.github.com/users/KepecsLab/gists{/gist_id}","starred_url":"https://api.github.com/users/KepecsLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KepecsLab/subscriptions","organizations_url":"https://api.github.com/users/KepecsLab/orgs","repos_url":"https://api.github.com/users/KepecsLab/repos","events_url":"https://api.github.com/users/KepecsLab/events{/privacy}","received_events_url":"https://api.github.com/users/KepecsLab/received_events","type":"Organization","site_admin":false},"repo":{"id":60546398,"name":"BpodProtocols_Olf2AFC","full_name":"KepecsLab/BpodProtocols_Olf2AFC","owner":{"login":"KepecsLab","id":1930884,"avatar_url":"https://avatars.githubusercontent.com/u/1930884?v=3","gravatar_id":"","url":"https://api.github.com/users/KepecsLab","html_url":"https://github.com/KepecsLab","followers_url":"https://api.github.com/users/KepecsLab/followers","following_url":"https://api.github.com/users/KepecsLab/following{/other_user}","gists_url":"https://api.github.com/users/KepecsLab/gists{/gist_id}","starred_url":"https://api.github.com/users/KepecsLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KepecsLab/subscriptions","organizations_url":"https://api.github.com/users/KepecsLab/orgs","repos_url":"https://api.github.com/users/KepecsLab/repos","events_url":"https://api.github.com/users/KepecsLab/events{/privacy}","received_events_url":"https://api.github.com/users/KepecsLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KepecsLab/BpodProtocols_Olf2AFC","description":"Olfactory discrimination 2AFC task.","fork":false,"url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC","forks_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/forks","keys_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/teams","hooks_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/hooks","issue_events_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/issues/events{/number}","events_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/events","assignees_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/assignees{/user}","branches_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/branches{/branch}","tags_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/tags","blobs_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/git/refs{/sha}","trees_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/statuses/{sha}","languages_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/languages","stargazers_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/stargazers","contributors_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/contributors","subscribers_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/subscribers","subscription_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/subscription","commits_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/commits{/sha}","git_commits_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/git/commits{/sha}","comments_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/comments{/number}","issue_comment_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/issues/comments{/number}","contents_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/contents/{+path}","compare_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/merges","archive_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/downloads","issues_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/issues{/number}","pulls_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls{/number}","milestones_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/milestones{/number}","notifications_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/labels{/name}","releases_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/releases{/id}","deployments_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/deployments","created_at":"2016-06-06T17:16:03Z","updated_at":"2016-07-01T19:08:19Z","pushed_at":"2016-08-04T15:24:25Z","git_url":"git://github.com/KepecsLab/BpodProtocols_Olf2AFC.git","ssh_url":"git@github.com:KepecsLab/BpodProtocols_Olf2AFC.git","clone_url":"https://github.com/KepecsLab/BpodProtocols_Olf2AFC.git","svn_url":"https://github.com/KepecsLab/BpodProtocols_Olf2AFC","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"Matlab","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"KepecsLab:master","ref":"master","sha":"14fb725e03e3be4b10df9c7cdfd3bf4ac966da0c","user":{"login":"KepecsLab","id":1930884,"avatar_url":"https://avatars.githubusercontent.com/u/1930884?v=3","gravatar_id":"","url":"https://api.github.com/users/KepecsLab","html_url":"https://github.com/KepecsLab","followers_url":"https://api.github.com/users/KepecsLab/followers","following_url":"https://api.github.com/users/KepecsLab/following{/other_user}","gists_url":"https://api.github.com/users/KepecsLab/gists{/gist_id}","starred_url":"https://api.github.com/users/KepecsLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KepecsLab/subscriptions","organizations_url":"https://api.github.com/users/KepecsLab/orgs","repos_url":"https://api.github.com/users/KepecsLab/repos","events_url":"https://api.github.com/users/KepecsLab/events{/privacy}","received_events_url":"https://api.github.com/users/KepecsLab/received_events","type":"Organization","site_admin":false},"repo":{"id":60546398,"name":"BpodProtocols_Olf2AFC","full_name":"KepecsLab/BpodProtocols_Olf2AFC","owner":{"login":"KepecsLab","id":1930884,"avatar_url":"https://avatars.githubusercontent.com/u/1930884?v=3","gravatar_id":"","url":"https://api.github.com/users/KepecsLab","html_url":"https://github.com/KepecsLab","followers_url":"https://api.github.com/users/KepecsLab/followers","following_url":"https://api.github.com/users/KepecsLab/following{/other_user}","gists_url":"https://api.github.com/users/KepecsLab/gists{/gist_id}","starred_url":"https://api.github.com/users/KepecsLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KepecsLab/subscriptions","organizations_url":"https://api.github.com/users/KepecsLab/orgs","repos_url":"https://api.github.com/users/KepecsLab/repos","events_url":"https://api.github.com/users/KepecsLab/events{/privacy}","received_events_url":"https://api.github.com/users/KepecsLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KepecsLab/BpodProtocols_Olf2AFC","description":"Olfactory discrimination 2AFC task.","fork":false,"url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC","forks_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/forks","keys_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/teams","hooks_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/hooks","issue_events_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/issues/events{/number}","events_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/events","assignees_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/assignees{/user}","branches_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/branches{/branch}","tags_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/tags","blobs_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/git/refs{/sha}","trees_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/statuses/{sha}","languages_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/languages","stargazers_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/stargazers","contributors_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/contributors","subscribers_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/subscribers","subscription_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/subscription","commits_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/commits{/sha}","git_commits_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/git/commits{/sha}","comments_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/comments{/number}","issue_comment_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/issues/comments{/number}","contents_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/contents/{+path}","compare_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/merges","archive_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/downloads","issues_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/issues{/number}","pulls_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls{/number}","milestones_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/milestones{/number}","notifications_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/labels{/name}","releases_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/releases{/id}","deployments_url":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/deployments","created_at":"2016-06-06T17:16:03Z","updated_at":"2016-07-01T19:08:19Z","pushed_at":"2016-08-04T15:24:25Z","git_url":"git://github.com/KepecsLab/BpodProtocols_Olf2AFC.git","ssh_url":"git@github.com:KepecsLab/BpodProtocols_Olf2AFC.git","clone_url":"https://github.com/KepecsLab/BpodProtocols_Olf2AFC.git","svn_url":"https://github.com/KepecsLab/BpodProtocols_Olf2AFC","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"Matlab","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls/10"},"html":{"href":"https://github.com/KepecsLab/BpodProtocols_Olf2AFC/pull/10"},"issue":{"href":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/issues/10"},"comments":{"href":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/KepecsLab/BpodProtocols_Olf2AFC/statuses/b7a3f24ec1733352b11b4119e6e8cb3d8d10f48b"}}}}
{"actor":{"display_login":"tsgouvea"}}