payload: {"action":"created","comment":{"url":"https://api.github.com/repos/NileGraddis/AllenSDK/pulls/comments/313662914","pull_request_review_id":274617951,"id":313662914,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMxMzY2MjkxNA==","diff_hunk":"@@ -102,27 +198,25 @@ def get_trial_response_df(session, response_analysis_params):\n     df.insert(loc=2, column='dff_trace_timestamps', value=trace_timestamps_list)\n     return df\n \n-# window_around_timepoint_seconds: window around each timepoint to take a snippet of the dF/F trace\n-# response_window_duration_seconds: time in seconds after timepoint over which to take the mean response\n-# baseline_window_duration_seconds: time in seconds before timepoint over which to take the baseline response\n \n if __name__=='__main__':\n+    # Load cache \n     cache_json = {'manifest_path': '/allen/programs/braintv/workgroups/nc-ophys/visual_behavior/SWDB_2019/visual_behavior_data_manifest.csv',\n                   'nwb_base_dir': '/allen/programs/braintv/workgroups/nc-ophys/visual_behavior/SWDB_2019/nwb_files',\n                   'analysis_files_base_dir': '/allen/programs/braintv/workgroups/nc-ophys/visual_behavior/SWDB_2019/extra_files_final'\n                   }\n-\n     cache = bpc.BehaviorProjectCache(cache_json)\n \n     case=0\n-\n     if case == 0:\n+        # this is the main use case\n+        experiment_id = sys.argv[1] # get experiment_id to analyze","path":"allensdk/brain_observatory/behavior/swdb/save_trial_response_df.py","position":217,"original_position":217,"commit_id":"930f4c89e19d6ba0115d6b4d954ea449b921c165","original_commit_id":"930f4c89e19d6ba0115d6b4d954ea449b921c165","user":{"login":"NileGraddis","id":15089451,"node_id":"MDQ6VXNlcjE1MDg5NDUx","avatar_url":"https://avatars2.githubusercontent.com/u/15089451?v=4","gravatar_id":"","url":"https://api.github.com/users/NileGraddis","html_url":"https://github.com/NileGraddis","followers_url":"https://api.github.com/users/NileGraddis/followers","following_url":"https://api.github.com/users/NileGraddis/following{/other_user}","gists_url":"https://api.github.com/users/NileGraddis/gists{/gist_id}","starred_url":"https://api.github.com/users/NileGraddis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NileGraddis/subscriptions","organizations_url":"https://api.github.com/users/NileGraddis/orgs","repos_url":"https://api.github.com/users/NileGraddis/repos","events_url":"https://api.github.com/users/NileGraddis/events{/privacy}","received_events_url":"https://api.github.com/users/NileGraddis/received_events","type":"User","site_admin":false},"body":"argparse?","created_at":"2019-08-14T00:16:38Z","updated_at":"2019-08-14T00:16:38Z","html_url":"https://github.com/NileGraddis/AllenSDK/pull/2#discussion_r313662914","pull_request_url":"https://api.github.com/repos/NileGraddis/AllenSDK/pulls/2","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/NileGraddis/AllenSDK/pulls/comments/313662914"},"html":{"href":"https://github.com/NileGraddis/AllenSDK/pull/2#discussion_r313662914"},"pull_request":{"href":"https://api.github.com/repos/NileGraddis/AllenSDK/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/NileGraddis/AllenSDK/pulls/2","id":307042525,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA3MDQyNTI1","html_url":"https://github.com/NileGraddis/AllenSDK/pull/2","diff_url":"https://github.com/NileGraddis/AllenSDK/pull/2.diff","patch_url":"https://github.com/NileGraddis/AllenSDK/pull/2.patch","issue_url":"https://api.github.com/repos/NileGraddis/AllenSDK/issues/2","number":2,"state":"open","locked":false,"title":"Clean up / documentation for visb swdb 2019 tools","user":{"login":"nickponvert","id":4708452,"node_id":"MDQ6VXNlcjQ3MDg0NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/4708452?v=4","gravatar_id":"","url":"https://api.github.com/users/nickponvert","html_url":"https://github.com/nickponvert","followers_url":"https://api.github.com/users/nickponvert/followers","following_url":"https://api.github.com/users/nickponvert/following{/other_user}","gists_url":"https://api.github.com/users/nickponvert/gists{/gist_id}","starred_url":"https://api.github.com/users/nickponvert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickponvert/subscriptions","organizations_url":"https://api.github.com/users/nickponvert/orgs","repos_url":"https://api.github.com/users/nickponvert/repos","events_url":"https://api.github.com/users/nickponvert/events{/privacy}","received_events_url":"https://api.github.com/users/nickponvert/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-08-13T19:19:29Z","updated_at":"2019-08-14T00:16:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"993aeb343870271382b9e757fe09aa7ee19a1fb6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/NileGraddis/AllenSDK/pulls/2/commits","review_comments_url":"https://api.github.com/repos/NileGraddis/AllenSDK/pulls/2/comments","review_comment_url":"https://api.github.com/repos/NileGraddis/AllenSDK/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NileGraddis/AllenSDK/issues/2/comments","statuses_url":"https://api.github.com/repos/NileGraddis/AllenSDK/statuses/930f4c89e19d6ba0115d6b4d954ea449b921c165","head":{"label":"nickponvert:visb_swdb_2019","ref":"visb_swdb_2019","sha":"930f4c89e19d6ba0115d6b4d954ea449b921c165","user":{"login":"nickponvert","id":4708452,"node_id":"MDQ6VXNlcjQ3MDg0NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/4708452?v=4","gravatar_id":"","url":"https://api.github.com/users/nickponvert","html_url":"https://github.com/nickponvert","followers_url":"https://api.github.com/users/nickponvert/followers","following_url":"https://api.github.com/users/nickponvert/following{/other_user}","gists_url":"https://api.github.com/users/nickponvert/gists{/gist_id}","starred_url":"https://api.github.com/users/nickponvert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickponvert/subscriptions","organizations_url":"https://api.github.com/users/nickponvert/orgs","repos_url":"https://api.github.com/users/nickponvert/repos","events_url":"https://api.github.com/users/nickponvert/events{/privacy}","received_events_url":"https://api.github.com/users/nickponvert/received_events","type":"User","site_admin":false},"repo":{"id":171750915,"node_id":"MDEwOlJlcG9zaXRvcnkxNzE3NTA5MTU=","name":"AllenSDK","full_name":"nickponvert/AllenSDK","private":false,"owner":{"login":"nickponvert","id":4708452,"node_id":"MDQ6VXNlcjQ3MDg0NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/4708452?v=4","gravatar_id":"","url":"https://api.github.com/users/nickponvert","html_url":"https://github.com/nickponvert","followers_url":"https://api.github.com/users/nickponvert/followers","following_url":"https://api.github.com/users/nickponvert/following{/other_user}","gists_url":"https://api.github.com/users/nickponvert/gists{/gist_id}","starred_url":"https://api.github.com/users/nickponvert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickponvert/subscriptions","organizations_url":"https://api.github.com/users/nickponvert/orgs","repos_url":"https://api.github.com/users/nickponvert/repos","events_url":"https://api.github.com/users/nickponvert/events{/privacy}","received_events_url":"https://api.github.com/users/nickponvert/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nickponvert/AllenSDK","description":null,"fork":true,"url":"https://api.github.com/repos/nickponvert/AllenSDK","forks_url":"https://api.github.com/repos/nickponvert/AllenSDK/forks","keys_url":"https://api.github.com/repos/nickponvert/AllenSDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickponvert/AllenSDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickponvert/AllenSDK/teams","hooks_url":"https://api.github.com/repos/nickponvert/AllenSDK/hooks","issue_events_url":"https://api.github.com/repos/nickponvert/AllenSDK/issues/events{/number}","events_url":"https://api.github.com/repos/nickponvert/AllenSDK/events","assignees_url":"https://api.github.com/repos/nickponvert/AllenSDK/assignees{/user}","branches_url":"https://api.github.com/repos/nickponvert/AllenSDK/branches{/branch}","tags_url":"https://api.github.com/repos/nickponvert/AllenSDK/tags","blobs_url":"https://api.github.com/repos/nickponvert/AllenSDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickponvert/AllenSDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickponvert/AllenSDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickponvert/AllenSDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickponvert/AllenSDK/statuses/{sha}","languages_url":"https://api.github.com/repos/nickponvert/AllenSDK/languages","stargazers_url":"https://api.github.com/repos/nickponvert/AllenSDK/stargazers","contributors_url":"https://api.github.com/repos/nickponvert/AllenSDK/contributors","subscribers_url":"https://api.github.com/repos/nickponvert/AllenSDK/subscribers","subscription_url":"https://api.github.com/repos/nickponvert/AllenSDK/subscription","commits_url":"https://api.github.com/repos/nickponvert/AllenSDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickponvert/AllenSDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickponvert/AllenSDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickponvert/AllenSDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickponvert/AllenSDK/contents/{+path}","compare_url":"https://api.github.com/repos/nickponvert/AllenSDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickponvert/AllenSDK/merges","archive_url":"https://api.github.com/repos/nickponvert/AllenSDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickponvert/AllenSDK/downloads","issues_url":"https://api.github.com/repos/nickponvert/AllenSDK/issues{/number}","pulls_url":"https://api.github.com/repos/nickponvert/AllenSDK/pulls{/number}","milestones_url":"https://api.github.com/repos/nickponvert/AllenSDK/milestones{/number}","notifications_url":"https://api.github.com/repos/nickponvert/AllenSDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickponvert/AllenSDK/labels{/name}","releases_url":"https://api.github.com/repos/nickponvert/AllenSDK/releases{/id}","deployments_url":"https://api.github.com/repos/nickponvert/AllenSDK/deployments","created_at":"2019-02-20T21:19:40Z","updated_at":"2019-08-13T17:56:51Z","pushed_at":"2019-08-13T23:33:52Z","git_url":"git://github.com/nickponvert/AllenSDK.git","ssh_url":"git@github.com:nickponvert/AllenSDK.git","clone_url":"https://github.com/nickponvert/AllenSDK.git","svn_url":"https://github.com/nickponvert/AllenSDK","homepage":"https://allensdk.readthedocs.io/en/latest/","size":87374,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"NileGraddis:visbeh-swdb","ref":"visbeh-swdb","sha":"08a9f7d16e274671f0545d96bd2eaecee8f79c37","user":{"login":"NileGraddis","id":15089451,"node_id":"MDQ6VXNlcjE1MDg5NDUx","avatar_url":"https://avatars2.githubusercontent.com/u/15089451?v=4","gravatar_id":"","url":"https://api.github.com/users/NileGraddis","html_url":"https://github.com/NileGraddis","followers_url":"https://api.github.com/users/NileGraddis/followers","following_url":"https://api.github.com/users/NileGraddis/following{/other_user}","gists_url":"https://api.github.com/users/NileGraddis/gists{/gist_id}","starred_url":"https://api.github.com/users/NileGraddis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NileGraddis/subscriptions","organizations_url":"https://api.github.com/users/NileGraddis/orgs","repos_url":"https://api.github.com/users/NileGraddis/repos","events_url":"https://api.github.com/users/NileGraddis/events{/privacy}","received_events_url":"https://api.github.com/users/NileGraddis/received_events","type":"User","site_admin":false},"repo":{"id":112389953,"node_id":"MDEwOlJlcG9zaXRvcnkxMTIzODk5NTM=","name":"AllenSDK","full_name":"NileGraddis/AllenSDK","private":false,"owner":{"login":"NileGraddis","id":15089451,"node_id":"MDQ6VXNlcjE1MDg5NDUx","avatar_url":"https://avatars2.githubusercontent.com/u/15089451?v=4","gravatar_id":"","url":"https://api.github.com/users/NileGraddis","html_url":"https://github.com/NileGraddis","followers_url":"https://api.github.com/users/NileGraddis/followers","following_url":"https://api.github.com/users/NileGraddis/following{/other_user}","gists_url":"https://api.github.com/users/NileGraddis/gists{/gist_id}","starred_url":"https://api.github.com/users/NileGraddis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NileGraddis/subscriptions","organizations_url":"https://api.github.com/users/NileGraddis/orgs","repos_url":"https://api.github.com/users/NileGraddis/repos","events_url":"https://api.github.com/users/NileGraddis/events{/privacy}","received_events_url":"https://api.github.com/users/NileGraddis/received_events","type":"User","site_admin":false},"html_url":"https://github.com/NileGraddis/AllenSDK","description":null,"fork":true,"url":"https://api.github.com/repos/NileGraddis/AllenSDK","forks_url":"https://api.github.com/repos/NileGraddis/AllenSDK/forks","keys_url":"https://api.github.com/repos/NileGraddis/AllenSDK/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NileGraddis/AllenSDK/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NileGraddis/AllenSDK/teams","hooks_url":"https://api.github.com/repos/NileGraddis/AllenSDK/hooks","issue_events_url":"https://api.github.com/repos/NileGraddis/AllenSDK/issues/events{/number}","events_url":"https://api.github.com/repos/NileGraddis/AllenSDK/events","assignees_url":"https://api.github.com/repos/NileGraddis/AllenSDK/assignees{/user}","branches_url":"https://api.github.com/repos/NileGraddis/AllenSDK/branches{/branch}","tags_url":"https://api.github.com/repos/NileGraddis/AllenSDK/tags","blobs_url":"https://api.github.com/repos/NileGraddis/AllenSDK/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NileGraddis/AllenSDK/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NileGraddis/AllenSDK/git/refs{/sha}","trees_url":"https://api.github.com/repos/NileGraddis/AllenSDK/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NileGraddis/AllenSDK/statuses/{sha}","languages_url":"https://api.github.com/repos/NileGraddis/AllenSDK/languages","stargazers_url":"https://api.github.com/repos/NileGraddis/AllenSDK/stargazers","contributors_url":"https://api.github.com/repos/NileGraddis/AllenSDK/contributors","subscribers_url":"https://api.github.com/repos/NileGraddis/AllenSDK/subscribers","subscription_url":"https://api.github.com/repos/NileGraddis/AllenSDK/subscription","commits_url":"https://api.github.com/repos/NileGraddis/AllenSDK/commits{/sha}","git_commits_url":"https://api.github.com/repos/NileGraddis/AllenSDK/git/commits{/sha}","comments_url":"https://api.github.com/repos/NileGraddis/AllenSDK/comments{/number}","issue_comment_url":"https://api.github.com/repos/NileGraddis/AllenSDK/issues/comments{/number}","contents_url":"https://api.github.com/repos/NileGraddis/AllenSDK/contents/{+path}","compare_url":"https://api.github.com/repos/NileGraddis/AllenSDK/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NileGraddis/AllenSDK/merges","archive_url":"https://api.github.com/repos/NileGraddis/AllenSDK/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NileGraddis/AllenSDK/downloads","issues_url":"https://api.github.com/repos/NileGraddis/AllenSDK/issues{/number}","pulls_url":"https://api.github.com/repos/NileGraddis/AllenSDK/pulls{/number}","milestones_url":"https://api.github.com/repos/NileGraddis/AllenSDK/milestones{/number}","notifications_url":"https://api.github.com/repos/NileGraddis/AllenSDK/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NileGraddis/AllenSDK/labels{/name}","releases_url":"https://api.github.com/repos/NileGraddis/AllenSDK/releases{/id}","deployments_url":"https://api.github.com/repos/NileGraddis/AllenSDK/deployments","created_at":"2017-11-28T21:14:50Z","updated_at":"2018-11-05T19:28:07Z","pushed_at":"2019-08-13T23:33:54Z","git_url":"git://github.com/NileGraddis/AllenSDK.git","ssh_url":"git@github.com:NileGraddis/AllenSDK.git","clone_url":"https://github.com/NileGraddis/AllenSDK.git","svn_url":"https://github.com/NileGraddis/AllenSDK","homepage":"http://alleninstitute.github.io/AllenSDK/","size":76520,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NileGraddis/AllenSDK/pulls/2"},"html":{"href":"https://github.com/NileGraddis/AllenSDK/pull/2"},"issue":{"href":"https://api.github.com/repos/NileGraddis/AllenSDK/issues/2"},"comments":{"href":"https://api.github.com/repos/NileGraddis/AllenSDK/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/NileGraddis/AllenSDK/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/NileGraddis/AllenSDK/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NileGraddis/AllenSDK/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/NileGraddis/AllenSDK/statuses/930f4c89e19d6ba0115d6b4d954ea449b921c165"}},"author_association":"NONE"}}
other: {"actor":{"display_login":"NileGraddis"}}