{"action":"created","comment":{"url":"https://api.github.com/repos/start-jsk/jsk_apc/pulls/comments/64679190","id":64679190,"diff_hunk":"@@ -36,14 +41,26 @@ def get_work_order_msg(json_file):\n         'oreo_mega_stuf'\n     ]\n     bin_contents = get_bin_contents(json_file=json_file)\n+    object_data = get_object_data()\n     for bin_, target_object in work_order:\n-        if target_object in abandon_target_objects:\n-            continue\n-        bin_contents_bool = False\n-        for bin_object in bin_contents[bin_]:\n-            if bin_object in abandon_bin_objects:\n-                bin_contents_bool = True\n-        if bin_contents_bool:\n+        if apc2016:\n+            target_object_data = filter(lambda x: x['name'] == target_object, object_data)","path":"jsk_2016_01_baxter_apc/node_scripts/work_order.py","position":54,"original_position":54,"commit_id":"e44b5896199e0d5287275bc1513c8d4347a54f7e","original_commit_id":"e44b5896199e0d5287275bc1513c8d4347a54f7e","user":{"login":"yuyu2172","id":2062128,"avatar_url":"https://avatars.githubusercontent.com/u/2062128?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyu2172","html_url":"https://github.com/yuyu2172","followers_url":"https://api.github.com/users/yuyu2172/followers","following_url":"https://api.github.com/users/yuyu2172/following{/other_user}","gists_url":"https://api.github.com/users/yuyu2172/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyu2172/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyu2172/subscriptions","organizations_url":"https://api.github.com/users/yuyu2172/orgs","repos_url":"https://api.github.com/users/yuyu2172/repos","events_url":"https://api.github.com/users/yuyu2172/events{/privacy}","received_events_url":"https://api.github.com/users/yuyu2172/received_events","type":"User","site_admin":false},"body":"```\r\n([x for x in object_data if x['name'] == target_object])\r\n```","created_at":"2016-05-26T01:19:59Z","updated_at":"2016-05-26T01:19:59Z","html_url":"https://github.com/start-jsk/jsk_apc/pull/1536#discussion_r64679190","pull_request_url":"https://api.github.com/repos/start-jsk/jsk_apc/pulls/1536","_links":{"self":{"href":"https://api.github.com/repos/start-jsk/jsk_apc/pulls/comments/64679190"},"html":{"href":"https://github.com/start-jsk/jsk_apc/pull/1536#discussion_r64679190"},"pull_request":{"href":"https://api.github.com/repos/start-jsk/jsk_apc/pulls/1536"}}},"pull_request":{"url":"https://api.github.com/repos/start-jsk/jsk_apc/pulls/1536","id":71358576,"html_url":"https://github.com/start-jsk/jsk_apc/pull/1536","diff_url":"https://github.com/start-jsk/jsk_apc/pull/1536.diff","patch_url":"https://github.com/start-jsk/jsk_apc/pull/1536.patch","issue_url":"https://api.github.com/repos/start-jsk/jsk_apc/issues/1536","number":1536,"state":"open","locked":false,"title":"[jsk_2016_01_baxter_apc] work_order modified to apply for apc2016 objects","user":{"login":"knorth55","id":9300063,"avatar_url":"https://avatars.githubusercontent.com/u/9300063?v=3","gravatar_id":"","url":"https://api.github.com/users/knorth55","html_url":"https://github.com/knorth55","followers_url":"https://api.github.com/users/knorth55/followers","following_url":"https://api.github.com/users/knorth55/following{/other_user}","gists_url":"https://api.github.com/users/knorth55/gists{/gist_id}","starred_url":"https://api.github.com/users/knorth55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knorth55/subscriptions","organizations_url":"https://api.github.com/users/knorth55/orgs","repos_url":"https://api.github.com/users/knorth55/repos","events_url":"https://api.github.com/users/knorth55/events{/privacy}","received_events_url":"https://api.github.com/users/knorth55/received_events","type":"User","site_admin":false},"body":"MERGE after #1535 and #1533","created_at":"2016-05-25T09:35:17Z","updated_at":"2016-05-26T01:19:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"05141718045ca5711f744d7e2ecfa6b086f05cfc","assignee":{"login":"yuyu2172","id":2062128,"avatar_url":"https://avatars.githubusercontent.com/u/2062128?v=3","gravatar_id":"","url":"https://api.github.com/users/yuyu2172","html_url":"https://github.com/yuyu2172","followers_url":"https://api.github.com/users/yuyu2172/followers","following_url":"https://api.github.com/users/yuyu2172/following{/other_user}","gists_url":"https://api.github.com/users/yuyu2172/gists{/gist_id}","starred_url":"https://api.github.com/users/yuyu2172/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuyu2172/subscriptions","organizations_url":"https://api.github.com/users/yuyu2172/orgs","repos_url":"https://api.github.com/users/yuyu2172/repos","events_url":"https://api.github.com/users/yuyu2172/events{/privacy}","received_events_url":"https://api.github.com/users/yuyu2172/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/start-jsk/jsk_apc/milestones/16","html_url":"https://github.com/start-jsk/jsk_apc/milestones/1.0:%20APC2016%2030pt%20(Only%20Pick)%20","labels_url":"https://api.github.com/repos/start-jsk/jsk_apc/milestones/16/labels","id":1758051,"number":16,"title":"1.0: APC2016 30pt (Only Pick) ","description":"- New Gripper\r\n- Objects for APC2016\r\n- Object recognition by hand camera","creator":{"login":"wkentaro","id":4310419,"avatar_url":"https://avatars.githubusercontent.com/u/4310419?v=3","gravatar_id":"","url":"https://api.github.com/users/wkentaro","html_url":"https://github.com/wkentaro","followers_url":"https://api.github.com/users/wkentaro/followers","following_url":"https://api.github.com/users/wkentaro/following{/other_user}","gists_url":"https://api.github.com/users/wkentaro/gists{/gist_id}","starred_url":"https://api.github.com/users/wkentaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkentaro/subscriptions","organizations_url":"https://api.github.com/users/wkentaro/orgs","repos_url":"https://api.github.com/users/wkentaro/repos","events_url":"https://api.github.com/users/wkentaro/events{/privacy}","received_events_url":"https://api.github.com/users/wkentaro/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":43,"state":"open","created_at":"2016-05-10T15:08:38Z","updated_at":"2016-05-25T17:40:05Z","due_on":"2016-05-20T15:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/start-jsk/jsk_apc/pulls/1536/commits","review_comments_url":"https://api.github.com/repos/start-jsk/jsk_apc/pulls/1536/comments","review_comment_url":"https://api.github.com/repos/start-jsk/jsk_apc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/start-jsk/jsk_apc/issues/1536/comments","statuses_url":"https://api.github.com/repos/start-jsk/jsk_apc/statuses/e44b5896199e0d5287275bc1513c8d4347a54f7e","head":{"label":"knorth55:work-order-2016","ref":"work-order-2016","sha":"e44b5896199e0d5287275bc1513c8d4347a54f7e","user":{"login":"knorth55","id":9300063,"avatar_url":"https://avatars.githubusercontent.com/u/9300063?v=3","gravatar_id":"","url":"https://api.github.com/users/knorth55","html_url":"https://github.com/knorth55","followers_url":"https://api.github.com/users/knorth55/followers","following_url":"https://api.github.com/users/knorth55/following{/other_user}","gists_url":"https://api.github.com/users/knorth55/gists{/gist_id}","starred_url":"https://api.github.com/users/knorth55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knorth55/subscriptions","organizations_url":"https://api.github.com/users/knorth55/orgs","repos_url":"https://api.github.com/users/knorth55/repos","events_url":"https://api.github.com/users/knorth55/events{/privacy}","received_events_url":"https://api.github.com/users/knorth55/received_events","type":"User","site_admin":false},"repo":{"id":50344258,"name":"jsk_apc","full_name":"knorth55/jsk_apc","owner":{"login":"knorth55","id":9300063,"avatar_url":"https://avatars.githubusercontent.com/u/9300063?v=3","gravatar_id":"","url":"https://api.github.com/users/knorth55","html_url":"https://github.com/knorth55","followers_url":"https://api.github.com/users/knorth55/followers","following_url":"https://api.github.com/users/knorth55/following{/other_user}","gists_url":"https://api.github.com/users/knorth55/gists{/gist_id}","starred_url":"https://api.github.com/users/knorth55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knorth55/subscriptions","organizations_url":"https://api.github.com/users/knorth55/orgs","repos_url":"https://api.github.com/users/knorth55/repos","events_url":"https://api.github.com/users/knorth55/events{/privacy}","received_events_url":"https://api.github.com/users/knorth55/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/knorth55/jsk_apc","description":"","fork":true,"url":"https://api.github.com/repos/knorth55/jsk_apc","forks_url":"https://api.github.com/repos/knorth55/jsk_apc/forks","keys_url":"https://api.github.com/repos/knorth55/jsk_apc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/knorth55/jsk_apc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/knorth55/jsk_apc/teams","hooks_url":"https://api.github.com/repos/knorth55/jsk_apc/hooks","issue_events_url":"https://api.github.com/repos/knorth55/jsk_apc/issues/events{/number}","events_url":"https://api.github.com/repos/knorth55/jsk_apc/events","assignees_url":"https://api.github.com/repos/knorth55/jsk_apc/assignees{/user}","branches_url":"https://api.github.com/repos/knorth55/jsk_apc/branches{/branch}","tags_url":"https://api.github.com/repos/knorth55/jsk_apc/tags","blobs_url":"https://api.github.com/repos/knorth55/jsk_apc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/knorth55/jsk_apc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/knorth55/jsk_apc/git/refs{/sha}","trees_url":"https://api.github.com/repos/knorth55/jsk_apc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/knorth55/jsk_apc/statuses/{sha}","languages_url":"https://api.github.com/repos/knorth55/jsk_apc/languages","stargazers_url":"https://api.github.com/repos/knorth55/jsk_apc/stargazers","contributors_url":"https://api.github.com/repos/knorth55/jsk_apc/contributors","subscribers_url":"https://api.github.com/repos/knorth55/jsk_apc/subscribers","subscription_url":"https://api.github.com/repos/knorth55/jsk_apc/subscription","commits_url":"https://api.github.com/repos/knorth55/jsk_apc/commits{/sha}","git_commits_url":"https://api.github.com/repos/knorth55/jsk_apc/git/commits{/sha}","comments_url":"https://api.github.com/repos/knorth55/jsk_apc/comments{/number}","issue_comment_url":"https://api.github.com/repos/knorth55/jsk_apc/issues/comments{/number}","contents_url":"https://api.github.com/repos/knorth55/jsk_apc/contents/{+path}","compare_url":"https://api.github.com/repos/knorth55/jsk_apc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/knorth55/jsk_apc/merges","archive_url":"https://api.github.com/repos/knorth55/jsk_apc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/knorth55/jsk_apc/downloads","issues_url":"https://api.github.com/repos/knorth55/jsk_apc/issues{/number}","pulls_url":"https://api.github.com/repos/knorth55/jsk_apc/pulls{/number}","milestones_url":"https://api.github.com/repos/knorth55/jsk_apc/milestones{/number}","notifications_url":"https://api.github.com/repos/knorth55/jsk_apc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/knorth55/jsk_apc/labels{/name}","releases_url":"https://api.github.com/repos/knorth55/jsk_apc/releases{/id}","deployments_url":"https://api.github.com/repos/knorth55/jsk_apc/deployments","created_at":"2016-01-25T10:45:33Z","updated_at":"2016-05-14T09:57:55Z","pushed_at":"2016-05-25T17:39:33Z","git_url":"git://github.com/knorth55/jsk_apc.git","ssh_url":"git@github.com:knorth55/jsk_apc.git","clone_url":"https://github.com/knorth55/jsk_apc.git","svn_url":"https://github.com/knorth55/jsk_apc","homepage":null,"size":363743,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"start-jsk:master","ref":"master","sha":"ca04a546dc197d27c4b2e4f93ad14c5589cea6ad","user":{"login":"start-jsk","id":2988053,"avatar_url":"https://avatars.githubusercontent.com/u/2988053?v=3","gravatar_id":"","url":"https://api.github.com/users/start-jsk","html_url":"https://github.com/start-jsk","followers_url":"https://api.github.com/users/start-jsk/followers","following_url":"https://api.github.com/users/start-jsk/following{/other_user}","gists_url":"https://api.github.com/users/start-jsk/gists{/gist_id}","starred_url":"https://api.github.com/users/start-jsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/start-jsk/subscriptions","organizations_url":"https://api.github.com/users/start-jsk/orgs","repos_url":"https://api.github.com/users/start-jsk/repos","events_url":"https://api.github.com/users/start-jsk/events{/privacy}","received_events_url":"https://api.github.com/users/start-jsk/received_events","type":"Organization","site_admin":false},"repo":{"id":25620908,"name":"jsk_apc","full_name":"start-jsk/jsk_apc","owner":{"login":"start-jsk","id":2988053,"avatar_url":"https://avatars.githubusercontent.com/u/2988053?v=3","gravatar_id":"","url":"https://api.github.com/users/start-jsk","html_url":"https://github.com/start-jsk","followers_url":"https://api.github.com/users/start-jsk/followers","following_url":"https://api.github.com/users/start-jsk/following{/other_user}","gists_url":"https://api.github.com/users/start-jsk/gists{/gist_id}","starred_url":"https://api.github.com/users/start-jsk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/start-jsk/subscriptions","organizations_url":"https://api.github.com/users/start-jsk/orgs","repos_url":"https://api.github.com/users/start-jsk/repos","events_url":"https://api.github.com/users/start-jsk/events{/privacy}","received_events_url":"https://api.github.com/users/start-jsk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/start-jsk/jsk_apc","description":"","fork":false,"url":"https://api.github.com/repos/start-jsk/jsk_apc","forks_url":"https://api.github.com/repos/start-jsk/jsk_apc/forks","keys_url":"https://api.github.com/repos/start-jsk/jsk_apc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/start-jsk/jsk_apc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/start-jsk/jsk_apc/teams","hooks_url":"https://api.github.com/repos/start-jsk/jsk_apc/hooks","issue_events_url":"https://api.github.com/repos/start-jsk/jsk_apc/issues/events{/number}","events_url":"https://api.github.com/repos/start-jsk/jsk_apc/events","assignees_url":"https://api.github.com/repos/start-jsk/jsk_apc/assignees{/user}","branches_url":"https://api.github.com/repos/start-jsk/jsk_apc/branches{/branch}","tags_url":"https://api.github.com/repos/start-jsk/jsk_apc/tags","blobs_url":"https://api.github.com/repos/start-jsk/jsk_apc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/start-jsk/jsk_apc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/start-jsk/jsk_apc/git/refs{/sha}","trees_url":"https://api.github.com/repos/start-jsk/jsk_apc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/start-jsk/jsk_apc/statuses/{sha}","languages_url":"https://api.github.com/repos/start-jsk/jsk_apc/languages","stargazers_url":"https://api.github.com/repos/start-jsk/jsk_apc/stargazers","contributors_url":"https://api.github.com/repos/start-jsk/jsk_apc/contributors","subscribers_url":"https://api.github.com/repos/start-jsk/jsk_apc/subscribers","subscription_url":"https://api.github.com/repos/start-jsk/jsk_apc/subscription","commits_url":"https://api.github.com/repos/start-jsk/jsk_apc/commits{/sha}","git_commits_url":"https://api.github.com/repos/start-jsk/jsk_apc/git/commits{/sha}","comments_url":"https://api.github.com/repos/start-jsk/jsk_apc/comments{/number}","issue_comment_url":"https://api.github.com/repos/start-jsk/jsk_apc/issues/comments{/number}","contents_url":"https://api.github.com/repos/start-jsk/jsk_apc/contents/{+path}","compare_url":"https://api.github.com/repos/start-jsk/jsk_apc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/start-jsk/jsk_apc/merges","archive_url":"https://api.github.com/repos/start-jsk/jsk_apc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/start-jsk/jsk_apc/downloads","issues_url":"https://api.github.com/repos/start-jsk/jsk_apc/issues{/number}","pulls_url":"https://api.github.com/repos/start-jsk/jsk_apc/pulls{/number}","milestones_url":"https://api.github.com/repos/start-jsk/jsk_apc/milestones{/number}","notifications_url":"https://api.github.com/repos/start-jsk/jsk_apc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/start-jsk/jsk_apc/labels{/name}","releases_url":"https://api.github.com/repos/start-jsk/jsk_apc/releases{/id}","deployments_url":"https://api.github.com/repos/start-jsk/jsk_apc/deployments","created_at":"2014-10-23T05:28:31Z","updated_at":"2016-05-23T12:51:36Z","pushed_at":"2016-05-25T19:00:29Z","git_url":"git://github.com/start-jsk/jsk_apc.git","ssh_url":"git@github.com:start-jsk/jsk_apc.git","clone_url":"https://github.com/start-jsk/jsk_apc.git","svn_url":"https://github.com/start-jsk/jsk_apc","homepage":null,"size":379055,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":23,"forks":22,"open_issues":23,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/start-jsk/jsk_apc/pulls/1536"},"html":{"href":"https://github.com/start-jsk/jsk_apc/pull/1536"},"issue":{"href":"https://api.github.com/repos/start-jsk/jsk_apc/issues/1536"},"comments":{"href":"https://api.github.com/repos/start-jsk/jsk_apc/issues/1536/comments"},"review_comments":{"href":"https://api.github.com/repos/start-jsk/jsk_apc/pulls/1536/comments"},"review_comment":{"href":"https://api.github.com/repos/start-jsk/jsk_apc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/start-jsk/jsk_apc/pulls/1536/commits"},"statuses":{"href":"https://api.github.com/repos/start-jsk/jsk_apc/statuses/e44b5896199e0d5287275bc1513c8d4347a54f7e"}}}}
{"actor":{"display_login":"yuyu2172"}}