{"action":"created","comment":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments/42426395","id":42426395,"diff_hunk":"@@ -245,6 +276,26 @@\n     end\n     fprintf(1, '\\n');\n \n+    % Retrieve all the screens owned by the session user in the\n+    % context of the specified group\n+    disp('Retrieving screens owned by the session user in a different group')\n+    screens = getScreens(session, 'group', group2);\n+    fprintf(1, '  Found %g screens\\n', numel(screens));\n+    for i = 1 : numel(screens),\n+        print_object(screens(i));\n+    end\n+    fprintf(1, '\\n');\n+\n+    % Retrieve all the screens owned by the session user in the\n+    % context of the specified group\n+    disp('Retrieving screens owned by the session user in a different group')\n+    screens = getScreens(session, 'group', group2);\n+    fprintf(1, '  Found %g plates\\n', numel(screens));","path":"examples/Training/matlab/ReadData.m","position":86,"original_position":86,"commit_id":"e6be6c117bb0ef89c1e0447f15c149d60dd3d37b","original_commit_id":"e6be6c117bb0ef89c1e0447f15c149d60dd3d37b","user":{"login":"mtbc","id":2630707,"avatar_url":"https://avatars.githubusercontent.com/u/2630707?v=3","gravatar_id":"","url":"https://api.github.com/users/mtbc","html_url":"https://github.com/mtbc","followers_url":"https://api.github.com/users/mtbc/followers","following_url":"https://api.github.com/users/mtbc/following{/other_user}","gists_url":"https://api.github.com/users/mtbc/gists{/gist_id}","starred_url":"https://api.github.com/users/mtbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtbc/subscriptions","organizations_url":"https://api.github.com/users/mtbc/orgs","repos_url":"https://api.github.com/users/mtbc/repos","events_url":"https://api.github.com/users/mtbc/events{/privacy}","received_events_url":"https://api.github.com/users/mtbc/received_events","type":"User","site_admin":false},"body":"really a plate count?","created_at":"2015-10-19T21:10:53Z","updated_at":"2015-10-19T21:10:53Z","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4286#discussion_r42426395","pull_request_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4286","_links":{"self":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments/42426395"},"html":{"href":"https://github.com/openmicroscopy/openmicroscopy/pull/4286#discussion_r42426395"},"pull_request":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4286"}}},"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4286","id":48117924,"html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4286","diff_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4286.diff","patch_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4286.patch","issue_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4286","number":4286,"state":"open","locked":false,"title":"OMERO.matlab: always cast the group to a java.lang.String","user":{"login":"sbesson","id":1355463,"avatar_url":"https://avatars.githubusercontent.com/u/1355463?v=3","gravatar_id":"","url":"https://api.github.com/users/sbesson","html_url":"https://github.com/sbesson","followers_url":"https://api.github.com/users/sbesson/followers","following_url":"https://api.github.com/users/sbesson/following{/other_user}","gists_url":"https://api.github.com/users/sbesson/gists{/gist_id}","starred_url":"https://api.github.com/users/sbesson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbesson/subscriptions","organizations_url":"https://api.github.com/users/sbesson/orgs","repos_url":"https://api.github.com/users/sbesson/repos","events_url":"https://api.github.com/users/sbesson/events{/privacy}","received_events_url":"https://api.github.com/users/sbesson/received_events","type":"User","site_admin":false},"body":"This PR fixes a bug encountered while working on MultiMOT with the new multi-group functionality included in OMERO.matlab 5.1.4.\r\n\r\nWhen retrieving objects in a different group than the session group, the method call resulted in exceptions of type `java.lang.Character cannot be cast to java.lang.String`. This exception was not thrown when passing `-1` as the group.\r\nThis PR reviews all usages of the group context in OMERO.matlab and unconditionally casts the `groupId` as a `java.lang.String`. The training examples are updated to also read object in a specified group. /cc @emilroz ","created_at":"2015-10-19T19:54:57Z","updated_at":"2015-10-19T21:10:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"da966cb865c34cdbc7ebc415c1c19ebd23abb918","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4286/commits","review_comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4286/comments","review_comment_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4286/comments","statuses_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/statuses/e6be6c117bb0ef89c1e0447f15c149d60dd3d37b","head":{"label":"sbesson:matlab_string","ref":"matlab_string","sha":"e6be6c117bb0ef89c1e0447f15c149d60dd3d37b","user":{"login":"sbesson","id":1355463,"avatar_url":"https://avatars.githubusercontent.com/u/1355463?v=3","gravatar_id":"","url":"https://api.github.com/users/sbesson","html_url":"https://github.com/sbesson","followers_url":"https://api.github.com/users/sbesson/followers","following_url":"https://api.github.com/users/sbesson/following{/other_user}","gists_url":"https://api.github.com/users/sbesson/gists{/gist_id}","starred_url":"https://api.github.com/users/sbesson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbesson/subscriptions","organizations_url":"https://api.github.com/users/sbesson/orgs","repos_url":"https://api.github.com/users/sbesson/repos","events_url":"https://api.github.com/users/sbesson/events{/privacy}","received_events_url":"https://api.github.com/users/sbesson/received_events","type":"User","site_admin":false},"repo":{"id":3709486,"name":"openmicroscopy","full_name":"sbesson/openmicroscopy","owner":{"login":"sbesson","id":1355463,"avatar_url":"https://avatars.githubusercontent.com/u/1355463?v=3","gravatar_id":"","url":"https://api.github.com/users/sbesson","html_url":"https://github.com/sbesson","followers_url":"https://api.github.com/users/sbesson/followers","following_url":"https://api.github.com/users/sbesson/following{/other_user}","gists_url":"https://api.github.com/users/sbesson/gists{/gist_id}","starred_url":"https://api.github.com/users/sbesson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbesson/subscriptions","organizations_url":"https://api.github.com/users/sbesson/orgs","repos_url":"https://api.github.com/users/sbesson/repos","events_url":"https://api.github.com/users/sbesson/events{/privacy}","received_events_url":"https://api.github.com/users/sbesson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sbesson/openmicroscopy","description":"OME (Open Microscopy Environment) develops open-source software and data format standards for the storage and manipulation of biological light microscopy data. A joint project between universities, research establishments and industry in Europe and the USA, OME has over 20 active researchers with strong links to the microscopy community. Funded by private and public research grants, OME has been a major force on the international microscopy stage since 2000.","fork":true,"url":"https://api.github.com/repos/sbesson/openmicroscopy","forks_url":"https://api.github.com/repos/sbesson/openmicroscopy/forks","keys_url":"https://api.github.com/repos/sbesson/openmicroscopy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sbesson/openmicroscopy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sbesson/openmicroscopy/teams","hooks_url":"https://api.github.com/repos/sbesson/openmicroscopy/hooks","issue_events_url":"https://api.github.com/repos/sbesson/openmicroscopy/issues/events{/number}","events_url":"https://api.github.com/repos/sbesson/openmicroscopy/events","assignees_url":"https://api.github.com/repos/sbesson/openmicroscopy/assignees{/user}","branches_url":"https://api.github.com/repos/sbesson/openmicroscopy/branches{/branch}","tags_url":"https://api.github.com/repos/sbesson/openmicroscopy/tags","blobs_url":"https://api.github.com/repos/sbesson/openmicroscopy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sbesson/openmicroscopy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sbesson/openmicroscopy/git/refs{/sha}","trees_url":"https://api.github.com/repos/sbesson/openmicroscopy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sbesson/openmicroscopy/statuses/{sha}","languages_url":"https://api.github.com/repos/sbesson/openmicroscopy/languages","stargazers_url":"https://api.github.com/repos/sbesson/openmicroscopy/stargazers","contributors_url":"https://api.github.com/repos/sbesson/openmicroscopy/contributors","subscribers_url":"https://api.github.com/repos/sbesson/openmicroscopy/subscribers","subscription_url":"https://api.github.com/repos/sbesson/openmicroscopy/subscription","commits_url":"https://api.github.com/repos/sbesson/openmicroscopy/commits{/sha}","git_commits_url":"https://api.github.com/repos/sbesson/openmicroscopy/git/commits{/sha}","comments_url":"https://api.github.com/repos/sbesson/openmicroscopy/comments{/number}","issue_comment_url":"https://api.github.com/repos/sbesson/openmicroscopy/issues/comments{/number}","contents_url":"https://api.github.com/repos/sbesson/openmicroscopy/contents/{+path}","compare_url":"https://api.github.com/repos/sbesson/openmicroscopy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sbesson/openmicroscopy/merges","archive_url":"https://api.github.com/repos/sbesson/openmicroscopy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sbesson/openmicroscopy/downloads","issues_url":"https://api.github.com/repos/sbesson/openmicroscopy/issues{/number}","pulls_url":"https://api.github.com/repos/sbesson/openmicroscopy/pulls{/number}","milestones_url":"https://api.github.com/repos/sbesson/openmicroscopy/milestones{/number}","notifications_url":"https://api.github.com/repos/sbesson/openmicroscopy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sbesson/openmicroscopy/labels{/name}","releases_url":"https://api.github.com/repos/sbesson/openmicroscopy/releases{/id}","created_at":"2012-03-13T17:54:24Z","updated_at":"2015-05-08T18:19:00Z","pushed_at":"2015-10-19T19:48:50Z","git_url":"git://github.com/sbesson/openmicroscopy.git","ssh_url":"git@github.com:sbesson/openmicroscopy.git","clone_url":"https://github.com/sbesson/openmicroscopy.git","svn_url":"https://github.com/sbesson/openmicroscopy","homepage":"http://www.openmicroscopy.org","size":1998654,"stargazers_count":3,"watchers_count":3,"language":"Java","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":3,"default_branch":"develop"}},"base":{"label":"openmicroscopy:develop","ref":"develop","sha":"328d75c7796a573f4c8afc5492f59a27c5080ce6","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":2228226,"name":"openmicroscopy","full_name":"openmicroscopy/openmicroscopy","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/openmicroscopy","description":"OME (Open Microscopy Environment) develops open-source software and data format standards for the storage and manipulation of biological light microscopy data. A joint project between universities, research establishments and industry in Europe and the USA, OME has over 20 active researchers with strong links to the microscopy community. Funded by private and public research grants, OME has been a major force on the international microscopy stage since 2000.","fork":false,"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy","forks_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/forks","keys_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/teams","hooks_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/hooks","issue_events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/events{/number}","events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/events","assignees_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/assignees{/user}","branches_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/branches{/branch}","tags_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/tags","blobs_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/statuses/{sha}","languages_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/languages","stargazers_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/stargazers","contributors_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/contributors","subscribers_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/subscribers","subscription_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/subscription","commits_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/contents/{+path}","compare_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/merges","archive_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/downloads","issues_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues{/number}","pulls_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls{/number}","milestones_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/milestones{/number}","notifications_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/labels{/name}","releases_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/releases{/id}","created_at":"2011-08-18T14:26:02Z","updated_at":"2015-10-19T10:23:46Z","pushed_at":"2015-10-19T20:08:37Z","git_url":"git://github.com/openmicroscopy/openmicroscopy.git","ssh_url":"git@github.com:openmicroscopy/openmicroscopy.git","clone_url":"https://github.com/openmicroscopy/openmicroscopy.git","svn_url":"https://github.com/openmicroscopy/openmicroscopy","homepage":"http://www.openmicroscopy.org","size":2172847,"stargazers_count":70,"watchers_count":70,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":68,"mirror_url":null,"open_issues_count":39,"forks":68,"open_issues":39,"watchers":70,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4286"},"html":{"href":"https://github.com/openmicroscopy/openmicroscopy/pull/4286"},"issue":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4286"},"comments":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4286/comments"},"review_comments":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4286/comments"},"review_comment":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4286/commits"},"statuses":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/statuses/e6be6c117bb0ef89c1e0447f15c149d60dd3d37b"}}}}