{"action":"created","comment":{"url":"https://api.github.com/repos/vathes/IBL-pipeline/pulls/comments/240011876","pull_request_review_id":182951918,"id":240011876,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDAxMTg3Ng==","diff_hunk":"@@ -146,15 +162,9 @@ def make(self, key):\n         wheel_moves_intervals, wheel_moves_types = \\\n             ONE().load(eID, dataset_types=['_ibl_wheelMoves.intervals', '_ibl_wheelMoves.type'])\n \n-        print(len(wheel_moves_intervals))\n-        print(len(wheel_moves_types))\n-        assert len(np.unique(np.array([len(wheel_moves_intervals), len(wheel_moves_types)]))) == 1, 'Loaded wheel move files do not have the same length'\n+        wheel_moves_types = wheel_moves_types.columns\n \n-        wheel_moves_types_str = np.array([\"\" for x in range(len(wheel_moves_types))], dtype='<U10')\n-        # mapping between numbers and \"CW\" etc need to be confirmed\n-        wheel_moves_types_str[wheel_moves_types.ravel() == 0] = \"CW\"\n-        wheel_moves_types_str[wheel_moves_types.ravel() == 1] = \"CCW\"\n-        wheel_moves_types_str[wheel_moves_types.ravel() == 2] = \"Flinch\"\n+        assert len(np.unique(np.array([len(wheel_moves_intervals), len(wheel_moves_types)]))) == 1, 'Loaded wheel move files do not have the same length'","path":"ibl_pipeline/behavior.py","position":50,"original_position":50,"commit_id":"9de8fd97a19f79f63768eaf5c0152df9b53e73cd","original_commit_id":"9de8fd97a19f79f63768eaf5c0152df9b53e73cd","user":{"login":"dimitri-yatsenko","id":1096169,"node_id":"MDQ6VXNlcjEwOTYxNjk=","avatar_url":"https://avatars3.githubusercontent.com/u/1096169?v=4","gravatar_id":"","url":"https://api.github.com/users/dimitri-yatsenko","html_url":"https://github.com/dimitri-yatsenko","followers_url":"https://api.github.com/users/dimitri-yatsenko/followers","following_url":"https://api.github.com/users/dimitri-yatsenko/following{/other_user}","gists_url":"https://api.github.com/users/dimitri-yatsenko/gists{/gist_id}","starred_url":"https://api.github.com/users/dimitri-yatsenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimitri-yatsenko/subscriptions","organizations_url":"https://api.github.com/users/dimitri-yatsenko/orgs","repos_url":"https://api.github.com/users/dimitri-yatsenko/repos","events_url":"https://api.github.com/users/dimitri-yatsenko/events{/privacy}","received_events_url":"https://api.github.com/users/dimitri-yatsenko/received_events","type":"User","site_admin":false},"body":"```python\r\nassert len(wheen_movie_intervals) == len(wheel_movies_types), 'Loaded wheel move files do not have the same length'\r\n```","created_at":"2018-12-08T18:00:56Z","updated_at":"2018-12-08T18:00:56Z","html_url":"https://github.com/vathes/IBL-pipeline/pull/1#discussion_r240011876","pull_request_url":"https://api.github.com/repos/vathes/IBL-pipeline/pulls/1","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/vathes/IBL-pipeline/pulls/comments/240011876"},"html":{"href":"https://github.com/vathes/IBL-pipeline/pull/1#discussion_r240011876"},"pull_request":{"href":"https://api.github.com/repos/vathes/IBL-pipeline/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/vathes/IBL-pipeline/pulls/1","id":233290374,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMjkwMzc0","html_url":"https://github.com/vathes/IBL-pipeline/pull/1","diff_url":"https://github.com/vathes/IBL-pipeline/pull/1.diff","patch_url":"https://github.com/vathes/IBL-pipeline/pull/1.patch","issue_url":"https://api.github.com/repos/vathes/IBL-pipeline/issues/1","number":1,"state":"open","locked":false,"title":"Add functional WheelMove table.","user":{"login":"shenshan","id":2539832,"node_id":"MDQ6VXNlcjI1Mzk4MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/2539832?v=4","gravatar_id":"","url":"https://api.github.com/users/shenshan","html_url":"https://github.com/shenshan","followers_url":"https://api.github.com/users/shenshan/followers","following_url":"https://api.github.com/users/shenshan/following{/other_user}","gists_url":"https://api.github.com/users/shenshan/gists{/gist_id}","starred_url":"https://api.github.com/users/shenshan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenshan/subscriptions","organizations_url":"https://api.github.com/users/shenshan/orgs","repos_url":"https://api.github.com/users/shenshan/repos","events_url":"https://api.github.com/users/shenshan/events{/privacy}","received_events_url":"https://api.github.com/users/shenshan/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-23T23:45:02Z","updated_at":"2018-12-08T18:00:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a0ebb252c49c8225b94e48880e6c63bdda2f022","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vathes/IBL-pipeline/pulls/1/commits","review_comments_url":"https://api.github.com/repos/vathes/IBL-pipeline/pulls/1/comments","review_comment_url":"https://api.github.com/repos/vathes/IBL-pipeline/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vathes/IBL-pipeline/issues/1/comments","statuses_url":"https://api.github.com/repos/vathes/IBL-pipeline/statuses/9de8fd97a19f79f63768eaf5c0152df9b53e73cd","head":{"label":"shenshan:master","ref":"master","sha":"9de8fd97a19f79f63768eaf5c0152df9b53e73cd","user":{"login":"shenshan","id":2539832,"node_id":"MDQ6VXNlcjI1Mzk4MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/2539832?v=4","gravatar_id":"","url":"https://api.github.com/users/shenshan","html_url":"https://github.com/shenshan","followers_url":"https://api.github.com/users/shenshan/followers","following_url":"https://api.github.com/users/shenshan/following{/other_user}","gists_url":"https://api.github.com/users/shenshan/gists{/gist_id}","starred_url":"https://api.github.com/users/shenshan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenshan/subscriptions","organizations_url":"https://api.github.com/users/shenshan/orgs","repos_url":"https://api.github.com/users/shenshan/repos","events_url":"https://api.github.com/users/shenshan/events{/privacy}","received_events_url":"https://api.github.com/users/shenshan/received_events","type":"User","site_admin":false},"repo":{"id":158617106,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg2MTcxMDY=","name":"IBL-pipeline","full_name":"shenshan/IBL-pipeline","private":false,"owner":{"login":"shenshan","id":2539832,"node_id":"MDQ6VXNlcjI1Mzk4MzI=","avatar_url":"https://avatars1.githubusercontent.com/u/2539832?v=4","gravatar_id":"","url":"https://api.github.com/users/shenshan","html_url":"https://github.com/shenshan","followers_url":"https://api.github.com/users/shenshan/followers","following_url":"https://api.github.com/users/shenshan/following{/other_user}","gists_url":"https://api.github.com/users/shenshan/gists{/gist_id}","starred_url":"https://api.github.com/users/shenshan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shenshan/subscriptions","organizations_url":"https://api.github.com/users/shenshan/orgs","repos_url":"https://api.github.com/users/shenshan/repos","events_url":"https://api.github.com/users/shenshan/events{/privacy}","received_events_url":"https://api.github.com/users/shenshan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/shenshan/IBL-pipeline","description":"DataJoint pipeline for IBL project","fork":true,"url":"https://api.github.com/repos/shenshan/IBL-pipeline","forks_url":"https://api.github.com/repos/shenshan/IBL-pipeline/forks","keys_url":"https://api.github.com/repos/shenshan/IBL-pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shenshan/IBL-pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shenshan/IBL-pipeline/teams","hooks_url":"https://api.github.com/repos/shenshan/IBL-pipeline/hooks","issue_events_url":"https://api.github.com/repos/shenshan/IBL-pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/shenshan/IBL-pipeline/events","assignees_url":"https://api.github.com/repos/shenshan/IBL-pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/shenshan/IBL-pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/shenshan/IBL-pipeline/tags","blobs_url":"https://api.github.com/repos/shenshan/IBL-pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shenshan/IBL-pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shenshan/IBL-pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/shenshan/IBL-pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shenshan/IBL-pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/shenshan/IBL-pipeline/languages","stargazers_url":"https://api.github.com/repos/shenshan/IBL-pipeline/stargazers","contributors_url":"https://api.github.com/repos/shenshan/IBL-pipeline/contributors","subscribers_url":"https://api.github.com/repos/shenshan/IBL-pipeline/subscribers","subscription_url":"https://api.github.com/repos/shenshan/IBL-pipeline/subscription","commits_url":"https://api.github.com/repos/shenshan/IBL-pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/shenshan/IBL-pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/shenshan/IBL-pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/shenshan/IBL-pipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/shenshan/IBL-pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/shenshan/IBL-pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shenshan/IBL-pipeline/merges","archive_url":"https://api.github.com/repos/shenshan/IBL-pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shenshan/IBL-pipeline/downloads","issues_url":"https://api.github.com/repos/shenshan/IBL-pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/shenshan/IBL-pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/shenshan/IBL-pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/shenshan/IBL-pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shenshan/IBL-pipeline/labels{/name}","releases_url":"https://api.github.com/repos/shenshan/IBL-pipeline/releases{/id}","deployments_url":"https://api.github.com/repos/shenshan/IBL-pipeline/deployments","created_at":"2018-11-21T23:17:52Z","updated_at":"2018-12-04T19:40:59Z","pushed_at":"2018-12-04T19:40:57Z","git_url":"git://github.com/shenshan/IBL-pipeline.git","ssh_url":"git@github.com:shenshan/IBL-pipeline.git","clone_url":"https://github.com/shenshan/IBL-pipeline.git","svn_url":"https://github.com/shenshan/IBL-pipeline","homepage":null,"size":5257,"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,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vathes:master","ref":"master","sha":"0703baac1395be33ca0c057be52d675df78d8fbf","user":{"login":"vathes","id":22978966,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyOTc4OTY2","avatar_url":"https://avatars2.githubusercontent.com/u/22978966?v=4","gravatar_id":"","url":"https://api.github.com/users/vathes","html_url":"https://github.com/vathes","followers_url":"https://api.github.com/users/vathes/followers","following_url":"https://api.github.com/users/vathes/following{/other_user}","gists_url":"https://api.github.com/users/vathes/gists{/gist_id}","starred_url":"https://api.github.com/users/vathes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vathes/subscriptions","organizations_url":"https://api.github.com/users/vathes/orgs","repos_url":"https://api.github.com/users/vathes/repos","events_url":"https://api.github.com/users/vathes/events{/privacy}","received_events_url":"https://api.github.com/users/vathes/received_events","type":"Organization","site_admin":false},"repo":{"id":158331339,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgzMzEzMzk=","name":"IBL-pipeline","full_name":"vathes/IBL-pipeline","private":false,"owner":{"login":"vathes","id":22978966,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyOTc4OTY2","avatar_url":"https://avatars2.githubusercontent.com/u/22978966?v=4","gravatar_id":"","url":"https://api.github.com/users/vathes","html_url":"https://github.com/vathes","followers_url":"https://api.github.com/users/vathes/followers","following_url":"https://api.github.com/users/vathes/following{/other_user}","gists_url":"https://api.github.com/users/vathes/gists{/gist_id}","starred_url":"https://api.github.com/users/vathes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vathes/subscriptions","organizations_url":"https://api.github.com/users/vathes/orgs","repos_url":"https://api.github.com/users/vathes/repos","events_url":"https://api.github.com/users/vathes/events{/privacy}","received_events_url":"https://api.github.com/users/vathes/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/vathes/IBL-pipeline","description":"DataJoint pipeline for IBL project","fork":true,"url":"https://api.github.com/repos/vathes/IBL-pipeline","forks_url":"https://api.github.com/repos/vathes/IBL-pipeline/forks","keys_url":"https://api.github.com/repos/vathes/IBL-pipeline/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vathes/IBL-pipeline/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vathes/IBL-pipeline/teams","hooks_url":"https://api.github.com/repos/vathes/IBL-pipeline/hooks","issue_events_url":"https://api.github.com/repos/vathes/IBL-pipeline/issues/events{/number}","events_url":"https://api.github.com/repos/vathes/IBL-pipeline/events","assignees_url":"https://api.github.com/repos/vathes/IBL-pipeline/assignees{/user}","branches_url":"https://api.github.com/repos/vathes/IBL-pipeline/branches{/branch}","tags_url":"https://api.github.com/repos/vathes/IBL-pipeline/tags","blobs_url":"https://api.github.com/repos/vathes/IBL-pipeline/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vathes/IBL-pipeline/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vathes/IBL-pipeline/git/refs{/sha}","trees_url":"https://api.github.com/repos/vathes/IBL-pipeline/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vathes/IBL-pipeline/statuses/{sha}","languages_url":"https://api.github.com/repos/vathes/IBL-pipeline/languages","stargazers_url":"https://api.github.com/repos/vathes/IBL-pipeline/stargazers","contributors_url":"https://api.github.com/repos/vathes/IBL-pipeline/contributors","subscribers_url":"https://api.github.com/repos/vathes/IBL-pipeline/subscribers","subscription_url":"https://api.github.com/repos/vathes/IBL-pipeline/subscription","commits_url":"https://api.github.com/repos/vathes/IBL-pipeline/commits{/sha}","git_commits_url":"https://api.github.com/repos/vathes/IBL-pipeline/git/commits{/sha}","comments_url":"https://api.github.com/repos/vathes/IBL-pipeline/comments{/number}","issue_comment_url":"https://api.github.com/repos/vathes/IBL-pipeline/issues/comments{/number}","contents_url":"https://api.github.com/repos/vathes/IBL-pipeline/contents/{+path}","compare_url":"https://api.github.com/repos/vathes/IBL-pipeline/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vathes/IBL-pipeline/merges","archive_url":"https://api.github.com/repos/vathes/IBL-pipeline/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vathes/IBL-pipeline/downloads","issues_url":"https://api.github.com/repos/vathes/IBL-pipeline/issues{/number}","pulls_url":"https://api.github.com/repos/vathes/IBL-pipeline/pulls{/number}","milestones_url":"https://api.github.com/repos/vathes/IBL-pipeline/milestones{/number}","notifications_url":"https://api.github.com/repos/vathes/IBL-pipeline/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vathes/IBL-pipeline/labels{/name}","releases_url":"https://api.github.com/repos/vathes/IBL-pipeline/releases{/id}","deployments_url":"https://api.github.com/repos/vathes/IBL-pipeline/deployments","created_at":"2018-11-20T04:34:46Z","updated_at":"2018-11-20T04:34:48Z","pushed_at":"2018-12-04T19:40:59Z","git_url":"git://github.com/vathes/IBL-pipeline.git","ssh_url":"git@github.com:vathes/IBL-pipeline.git","clone_url":"https://github.com/vathes/IBL-pipeline.git","svn_url":"https://github.com/vathes/IBL-pipeline","homepage":null,"size":246909,"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":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vathes/IBL-pipeline/pulls/1"},"html":{"href":"https://github.com/vathes/IBL-pipeline/pull/1"},"issue":{"href":"https://api.github.com/repos/vathes/IBL-pipeline/issues/1"},"comments":{"href":"https://api.github.com/repos/vathes/IBL-pipeline/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/vathes/IBL-pipeline/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/vathes/IBL-pipeline/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vathes/IBL-pipeline/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/vathes/IBL-pipeline/statuses/9de8fd97a19f79f63768eaf5c0152df9b53e73cd"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"dimitri-yatsenko"}}