{"action":"created","comment":{"url":"https://api.github.com/repos/openmicroscopy/ome-documentation/pulls/comments/50865706","id":50865706,"diff_hunk":"@@ -839,13 +845,17 @@ ROIs\n     ellipse.theZ = rint(theZ)\n     ellipse.theT = rint(theT)\n     ellipse.textValue = rstring(\"test-Ellipse\")\n-    roi.addShape(ellipse) \n \n ::\n \n-    # create a line shape and add to ROI\n-    print (\"Adding line at theZ: %s, theT: %s, x1: %s, y1: %s, x2: %s,\"\n-       \" y2: %s\" % (theZ, theT, x, y, x+width, y+height))\n+    # Create an ROI containing 2 shapes on same plane\n+    # NB: OMERO.insight client doesn't support this","path":"omero/developers/Python.txt","position":86,"original_position":86,"commit_id":"30d88af1af19105bac7182db8a4a64f2fd04dc9f","original_commit_id":"30d88af1af19105bac7182db8a4a64f2fd04dc9f","user":{"login":"ximenesuk","id":1065145,"avatar_url":"https://avatars.githubusercontent.com/u/1065145?v=3","gravatar_id":"","url":"https://api.github.com/users/ximenesuk","html_url":"https://github.com/ximenesuk","followers_url":"https://api.github.com/users/ximenesuk/followers","following_url":"https://api.github.com/users/ximenesuk/following{/other_user}","gists_url":"https://api.github.com/users/ximenesuk/gists{/gist_id}","starred_url":"https://api.github.com/users/ximenesuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ximenesuk/subscriptions","organizations_url":"https://api.github.com/users/ximenesuk/orgs","repos_url":"https://api.github.com/users/ximenesuk/repos","events_url":"https://api.github.com/users/ximenesuk/events{/privacy}","received_events_url":"https://api.github.com/users/ximenesuk/received_events","type":"User","site_admin":false},"body":"Doesn't support viewing, creation? ","created_at":"2016-01-26T17:08:28Z","updated_at":"2016-01-26T17:08:28Z","html_url":"https://github.com/openmicroscopy/ome-documentation/pull/1383#discussion_r50865706","pull_request_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/pulls/1383","_links":{"self":{"href":"https://api.github.com/repos/openmicroscopy/ome-documentation/pulls/comments/50865706"},"html":{"href":"https://github.com/openmicroscopy/ome-documentation/pull/1383#discussion_r50865706"},"pull_request":{"href":"https://api.github.com/repos/openmicroscopy/ome-documentation/pulls/1383"}}},"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/ome-documentation/pulls/1383","id":56156609,"html_url":"https://github.com/openmicroscopy/ome-documentation/pull/1383","diff_url":"https://github.com/openmicroscopy/ome-documentation/pull/1383.diff","patch_url":"https://github.com/openmicroscopy/ome-documentation/pull/1383.patch","issue_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/issues/1383","number":1383,"state":"open","locked":false,"title":"Add polygon to python ROIs examples","user":{"login":"will-moore","id":900055,"avatar_url":"https://avatars.githubusercontent.com/u/900055?v=3","gravatar_id":"","url":"https://api.github.com/users/will-moore","html_url":"https://github.com/will-moore","followers_url":"https://api.github.com/users/will-moore/followers","following_url":"https://api.github.com/users/will-moore/following{/other_user}","gists_url":"https://api.github.com/users/will-moore/gists{/gist_id}","starred_url":"https://api.github.com/users/will-moore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-moore/subscriptions","organizations_url":"https://api.github.com/users/will-moore/orgs","repos_url":"https://api.github.com/users/will-moore/repos","events_url":"https://api.github.com/users/will-moore/events{/privacy}","received_events_url":"https://api.github.com/users/will-moore/received_events","type":"User","site_admin":false},"body":"This updates the Python ROIs example code according to changes in the examples at https://github.com/openmicroscopy/openmicroscopy/pull/4412 (Polygons)\r\nand \r\nhttps://github.com/openmicroscopy/openmicroscopy/pull/4415 (Masks).\r\nCheck for formatting errors etc.\r\nCode changes themselves are checked by the above PRs.","created_at":"2016-01-15T11:07:53Z","updated_at":"2016-01-26T17:08:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0509dfae56444c5dca90f1154755ee2ac14bc25a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/pulls/1383/commits","review_comments_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/pulls/1383/comments","review_comment_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/issues/1383/comments","statuses_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/statuses/30d88af1af19105bac7182db8a4a64f2fd04dc9f","head":{"label":"will-moore:polygon_ROIs_python_example","ref":"polygon_ROIs_python_example","sha":"30d88af1af19105bac7182db8a4a64f2fd04dc9f","user":{"login":"will-moore","id":900055,"avatar_url":"https://avatars.githubusercontent.com/u/900055?v=3","gravatar_id":"","url":"https://api.github.com/users/will-moore","html_url":"https://github.com/will-moore","followers_url":"https://api.github.com/users/will-moore/followers","following_url":"https://api.github.com/users/will-moore/following{/other_user}","gists_url":"https://api.github.com/users/will-moore/gists{/gist_id}","starred_url":"https://api.github.com/users/will-moore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-moore/subscriptions","organizations_url":"https://api.github.com/users/will-moore/orgs","repos_url":"https://api.github.com/users/will-moore/repos","events_url":"https://api.github.com/users/will-moore/events{/privacy}","received_events_url":"https://api.github.com/users/will-moore/received_events","type":"User","site_admin":false},"repo":{"id":5537612,"name":"ome-documentation","full_name":"will-moore/ome-documentation","owner":{"login":"will-moore","id":900055,"avatar_url":"https://avatars.githubusercontent.com/u/900055?v=3","gravatar_id":"","url":"https://api.github.com/users/will-moore","html_url":"https://github.com/will-moore","followers_url":"https://api.github.com/users/will-moore/followers","following_url":"https://api.github.com/users/will-moore/following{/other_user}","gists_url":"https://api.github.com/users/will-moore/gists{/gist_id}","starred_url":"https://api.github.com/users/will-moore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/will-moore/subscriptions","organizations_url":"https://api.github.com/users/will-moore/orgs","repos_url":"https://api.github.com/users/will-moore/repos","events_url":"https://api.github.com/users/will-moore/events{/privacy}","received_events_url":"https://api.github.com/users/will-moore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/will-moore/ome-documentation","description":"Sphinx-based documentation for the Open Microscopy Environment ","fork":true,"url":"https://api.github.com/repos/will-moore/ome-documentation","forks_url":"https://api.github.com/repos/will-moore/ome-documentation/forks","keys_url":"https://api.github.com/repos/will-moore/ome-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/will-moore/ome-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/will-moore/ome-documentation/teams","hooks_url":"https://api.github.com/repos/will-moore/ome-documentation/hooks","issue_events_url":"https://api.github.com/repos/will-moore/ome-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/will-moore/ome-documentation/events","assignees_url":"https://api.github.com/repos/will-moore/ome-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/will-moore/ome-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/will-moore/ome-documentation/tags","blobs_url":"https://api.github.com/repos/will-moore/ome-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/will-moore/ome-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/will-moore/ome-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/will-moore/ome-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/will-moore/ome-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/will-moore/ome-documentation/languages","stargazers_url":"https://api.github.com/repos/will-moore/ome-documentation/stargazers","contributors_url":"https://api.github.com/repos/will-moore/ome-documentation/contributors","subscribers_url":"https://api.github.com/repos/will-moore/ome-documentation/subscribers","subscription_url":"https://api.github.com/repos/will-moore/ome-documentation/subscription","commits_url":"https://api.github.com/repos/will-moore/ome-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/will-moore/ome-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/will-moore/ome-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/will-moore/ome-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/will-moore/ome-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/will-moore/ome-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/will-moore/ome-documentation/merges","archive_url":"https://api.github.com/repos/will-moore/ome-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/will-moore/ome-documentation/downloads","issues_url":"https://api.github.com/repos/will-moore/ome-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/will-moore/ome-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/will-moore/ome-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/will-moore/ome-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/will-moore/ome-documentation/labels{/name}","releases_url":"https://api.github.com/repos/will-moore/ome-documentation/releases{/id}","deployments_url":"https://api.github.com/repos/will-moore/ome-documentation/deployments","created_at":"2012-08-24T08:26:07Z","updated_at":"2014-06-10T12:24:58Z","pushed_at":"2016-01-25T13:58:11Z","git_url":"git://github.com/will-moore/ome-documentation.git","ssh_url":"git@github.com:will-moore/ome-documentation.git","clone_url":"https://github.com/will-moore/ome-documentation.git","svn_url":"https://github.com/will-moore/ome-documentation","homepage":"http://openmicroscopy.org","size":71577,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"openmicroscopy:develop","ref":"develop","sha":"ffbb992f93739d573c382bd87675fb05e33e42b6","user":{"login":"openmicroscopy","id":975861,"avatar_url":"https://avatars.githubusercontent.com/u/975861?v=3","gravatar_id":"","url":"https://api.github.com/users/openmicroscopy","html_url":"https://github.com/openmicroscopy","followers_url":"https://api.github.com/users/openmicroscopy/followers","following_url":"https://api.github.com/users/openmicroscopy/following{/other_user}","gists_url":"https://api.github.com/users/openmicroscopy/gists{/gist_id}","starred_url":"https://api.github.com/users/openmicroscopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmicroscopy/subscriptions","organizations_url":"https://api.github.com/users/openmicroscopy/orgs","repos_url":"https://api.github.com/users/openmicroscopy/repos","events_url":"https://api.github.com/users/openmicroscopy/events{/privacy}","received_events_url":"https://api.github.com/users/openmicroscopy/received_events","type":"Organization","site_admin":false},"repo":{"id":3198415,"name":"ome-documentation","full_name":"openmicroscopy/ome-documentation","owner":{"login":"openmicroscopy","id":975861,"avatar_url":"https://avatars.githubusercontent.com/u/975861?v=3","gravatar_id":"","url":"https://api.github.com/users/openmicroscopy","html_url":"https://github.com/openmicroscopy","followers_url":"https://api.github.com/users/openmicroscopy/followers","following_url":"https://api.github.com/users/openmicroscopy/following{/other_user}","gists_url":"https://api.github.com/users/openmicroscopy/gists{/gist_id}","starred_url":"https://api.github.com/users/openmicroscopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmicroscopy/subscriptions","organizations_url":"https://api.github.com/users/openmicroscopy/orgs","repos_url":"https://api.github.com/users/openmicroscopy/repos","events_url":"https://api.github.com/users/openmicroscopy/events{/privacy}","received_events_url":"https://api.github.com/users/openmicroscopy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmicroscopy/ome-documentation","description":"Sphinx-based documentation for the Open Microscopy Environment ","fork":false,"url":"https://api.github.com/repos/openmicroscopy/ome-documentation","forks_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/forks","keys_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/teams","hooks_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/hooks","issue_events_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/events","assignees_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/tags","blobs_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/languages","stargazers_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/stargazers","contributors_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/contributors","subscribers_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/subscribers","subscription_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/subscription","commits_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/merges","archive_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/downloads","issues_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/labels{/name}","releases_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/releases{/id}","deployments_url":"https://api.github.com/repos/openmicroscopy/ome-documentation/deployments","created_at":"2012-01-17T10:20:53Z","updated_at":"2016-01-24T07:51:50Z","pushed_at":"2016-01-26T11:07:35Z","git_url":"git://github.com/openmicroscopy/ome-documentation.git","ssh_url":"git@github.com:openmicroscopy/ome-documentation.git","clone_url":"https://github.com/openmicroscopy/ome-documentation.git","svn_url":"https://github.com/openmicroscopy/ome-documentation","homepage":"http://openmicroscopy.org","size":447078,"stargazers_count":11,"watchers_count":11,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":4,"forks":35,"open_issues":4,"watchers":11,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/openmicroscopy/ome-documentation/pulls/1383"},"html":{"href":"https://github.com/openmicroscopy/ome-documentation/pull/1383"},"issue":{"href":"https://api.github.com/repos/openmicroscopy/ome-documentation/issues/1383"},"comments":{"href":"https://api.github.com/repos/openmicroscopy/ome-documentation/issues/1383/comments"},"review_comments":{"href":"https://api.github.com/repos/openmicroscopy/ome-documentation/pulls/1383/comments"},"review_comment":{"href":"https://api.github.com/repos/openmicroscopy/ome-documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmicroscopy/ome-documentation/pulls/1383/commits"},"statuses":{"href":"https://api.github.com/repos/openmicroscopy/ome-documentation/statuses/30d88af1af19105bac7182db8a4a64f2fd04dc9f"}}}}