{"action":"created","issue":{"url":"https://api.github.com/repos/gentnerlab/ephys-analysis/issues/17","repository_url":"https://api.github.com/repos/gentnerlab/ephys-analysis","labels_url":"https://api.github.com/repos/gentnerlab/ephys-analysis/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/gentnerlab/ephys-analysis/issues/17/comments","events_url":"https://api.github.com/repos/gentnerlab/ephys-analysis/issues/17/events","html_url":"https://github.com/gentnerlab/ephys-analysis/pull/17","id":147251423,"number":17,"title":"added logic to calculate datetime of trial starts and whether correction trial","user":{"login":"neuromusic","id":1245615,"avatar_url":"https://avatars.githubusercontent.com/u/1245615?v=3","gravatar_id":"","url":"https://api.github.com/users/neuromusic","html_url":"https://github.com/neuromusic","followers_url":"https://api.github.com/users/neuromusic/followers","following_url":"https://api.github.com/users/neuromusic/following{/other_user}","gists_url":"https://api.github.com/users/neuromusic/gists{/gist_id}","starred_url":"https://api.github.com/users/neuromusic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neuromusic/subscriptions","organizations_url":"https://api.github.com/users/neuromusic/orgs","repos_url":"https://api.github.com/users/neuromusic/repos","events_url":"https://api.github.com/users/neuromusic/events{/privacy}","received_events_url":"https://api.github.com/users/neuromusic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-10T18:36:42Z","updated_at":"2016-04-14T22:04:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gentnerlab/ephys-analysis/pulls/17","html_url":"https://github.com/gentnerlab/ephys-analysis/pull/17","diff_url":"https://github.com/gentnerlab/ephys-analysis/pull/17.diff","patch_url":"https://github.com/gentnerlab/ephys-analysis/pull/17.patch"},"body":"this pull request adds two features:\r\n\r\n- each trial gets a datetime that is calculated from the recording metadata (in the info json file) and the time_samples of the trial\r\n- each trial gets a 'correction' column which computes whether the trial was a correction trial (might need to think through the edge cases here better)"},"comment":{"url":"https://api.github.com/repos/gentnerlab/ephys-analysis/issues/comments/210174507","html_url":"https://github.com/gentnerlab/ephys-analysis/pull/17#issuecomment-210174507","issue_url":"https://api.github.com/repos/gentnerlab/ephys-analysis/issues/17","id":210174507,"user":{"login":"neuromusic","id":1245615,"avatar_url":"https://avatars.githubusercontent.com/u/1245615?v=3","gravatar_id":"","url":"https://api.github.com/users/neuromusic","html_url":"https://github.com/neuromusic","followers_url":"https://api.github.com/users/neuromusic/followers","following_url":"https://api.github.com/users/neuromusic/following{/other_user}","gists_url":"https://api.github.com/users/neuromusic/gists{/gist_id}","starred_url":"https://api.github.com/users/neuromusic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neuromusic/subscriptions","organizations_url":"https://api.github.com/users/neuromusic/orgs","repos_url":"https://api.github.com/users/neuromusic/repos","events_url":"https://api.github.com/users/neuromusic/events{/privacy}","received_events_url":"https://api.github.com/users/neuromusic/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T22:04:50Z","updated_at":"2016-04-14T22:04:50Z","body":"updated docs. disagree re: default, as the start_time of the recording is rarely 0.0\r\n\r\nwill merge ASAP"}}