{"action":"created","comment":{"url":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/comments/29758046","id":29758046,"diff_hunk":"@@ -0,0 +1,63 @@\n+% Integration tests for the bfGetFileExtensions utility function\n+%\n+% Require MATLAB xUnit Test Framework to be installed\n+% http://www.mathworks.com/matlabcentral/fileexchange/22846-matlab-xunit-test-framework\n+% https://github.com/psexton/matlab-xunit (GitHub source code)\n+\n+% OME Bio-Formats package for reading and converting biological file formats.\n+%\n+% Copyright (C) 2012 - 2015 Open Microscopy Environment:\n+%   - Board of Regents of the University of Wisconsin-Madison\n+%   - Glencoe Software, Inc.\n+%   - University of Dundee\n+%\n+% This program is free software: you can redistribute it and/or modify\n+% it under the terms of the GNU General Public License as\n+% published by the Free Software Foundation, either version 2 of the\n+% License, or (at your option) any later version.\n+%\n+% This program is distributed in the hope that it will be useful,\n+% but WITHOUT ANY WARRANTY; without even the implied warranty of\n+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+% GNU General Public License for more details.\n+%\n+% You should have received a copy of the GNU General Public License along\n+% with this program; if not, write to the Free Software Foundation, Inc.,\n+% 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.\n+\n+classdef TestBfGetFileExtensions < TestBfMatlab\n+    \n+    properties\n+        readers\n+    end\n+    \n+    methods\n+        \n+        function self = TestBfGetFileExtensions(name)\n+            self = self@TestBfMatlab(name);\n+        end\n+        \n+        function testOctaveComaptibility(self)\n+            \n+            self.readers = javaMethod('getReaders', javaObject('loci.formats.ImageReader'));\n+            \n+            fileExt = cell(numel(self.readers), 2);","path":"components/formats-gpl/test/matlab/TestBfGetFileExtensions.m","position":44,"original_position":44,"commit_id":"c46f955374ea983b257ecd5d15c8aa4f27d4f3ce","original_commit_id":"c46f955374ea983b257ecd5d15c8aa4f27d4f3ce","user":{"login":"bramalingam","id":6438384,"avatar_url":"https://avatars.githubusercontent.com/u/6438384?v=3","gravatar_id":"","url":"https://api.github.com/users/bramalingam","html_url":"https://github.com/bramalingam","followers_url":"https://api.github.com/users/bramalingam/followers","following_url":"https://api.github.com/users/bramalingam/following{/other_user}","gists_url":"https://api.github.com/users/bramalingam/gists{/gist_id}","starred_url":"https://api.github.com/users/bramalingam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramalingam/subscriptions","organizations_url":"https://api.github.com/users/bramalingam/orgs","repos_url":"https://api.github.com/users/bramalingam/repos","events_url":"https://api.github.com/users/bramalingam/events{/privacy}","received_events_url":"https://api.github.com/users/bramalingam/received_events","type":"User","site_admin":false},"body":"The external PR had reimplemented our Matlab implementation of arrarfun, to fit Octave compatibility. Was just checking the same over here. Thinking about it, this is more or less testing Matlab functions and not our methods..! May be not worth the addition.","created_at":"2015-05-06T13:35:11Z","updated_at":"2015-05-06T13:35:11Z","html_url":"https://github.com/openmicroscopy/bioformats/pull/1781#discussion_r29758046","pull_request_url":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/1781","_links":{"self":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/comments/29758046"},"html":{"href":"https://github.com/openmicroscopy/bioformats/pull/1781#discussion_r29758046"},"pull_request":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/1781"}}},"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/1781","id":34814966,"html_url":"https://github.com/openmicroscopy/bioformats/pull/1781","diff_url":"https://github.com/openmicroscopy/bioformats/pull/1781.diff","patch_url":"https://github.com/openmicroscopy/bioformats/pull/1781.patch","issue_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/1781","number":1781,"state":"open","locked":false,"title":"BioFormats : Matlab unit tests ","user":{"login":"bramalingam","id":6438384,"avatar_url":"https://avatars.githubusercontent.com/u/6438384?v=3","gravatar_id":"","url":"https://api.github.com/users/bramalingam","html_url":"https://github.com/bramalingam","followers_url":"https://api.github.com/users/bramalingam/followers","following_url":"https://api.github.com/users/bramalingam/following{/other_user}","gists_url":"https://api.github.com/users/bramalingam/gists{/gist_id}","starred_url":"https://api.github.com/users/bramalingam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramalingam/subscriptions","organizations_url":"https://api.github.com/users/bramalingam/orgs","repos_url":"https://api.github.com/users/bramalingam/repos","events_url":"https://api.github.com/users/bramalingam/events{/privacy}","received_events_url":"https://api.github.com/users/bramalingam/received_events","type":"User","site_admin":false},"body":"Majorly check's Octave compatibility and a few minor additions.\r\nTesting instructions in Matlab:\r\n\r\n1) Download bfMatlab and add it to the Matlab path.\r\nex: \">> addpath('/Users/bramalingam/Downloads/bfmatlab-5')\" \r\n\r\n2) Download the matlab-xunit framework from\r\nhttps://github.com/psexton/matlab-xunit\r\nex: \">> addpath(genpath('/Users/bramalingam/OME/matlab-xunit/src'))\"\r\n\r\n3) Now change the working directory of matlab to the following directory (in your bioformats repository),\r\nex: \">> cd('/Users/bramalingam/OME/bioformats/components/formats-gpl/test/matlab')\"\r\n\r\n4) Run the package : \r\n\">> runxunit ./\"","created_at":"2015-05-06T13:13:24Z","updated_at":"2015-05-06T13:35:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4464185315f7582b9138b12b745bd176d873039","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/1781/commits","review_comments_url":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/1781/comments","review_comment_url":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/1781/comments","statuses_url":"https://api.github.com/repos/openmicroscopy/bioformats/statuses/c46f955374ea983b257ecd5d15c8aa4f27d4f3ce","head":{"label":"bramalingam:BfMatlabUnitTests","ref":"BfMatlabUnitTests","sha":"c46f955374ea983b257ecd5d15c8aa4f27d4f3ce","user":{"login":"bramalingam","id":6438384,"avatar_url":"https://avatars.githubusercontent.com/u/6438384?v=3","gravatar_id":"","url":"https://api.github.com/users/bramalingam","html_url":"https://github.com/bramalingam","followers_url":"https://api.github.com/users/bramalingam/followers","following_url":"https://api.github.com/users/bramalingam/following{/other_user}","gists_url":"https://api.github.com/users/bramalingam/gists{/gist_id}","starred_url":"https://api.github.com/users/bramalingam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramalingam/subscriptions","organizations_url":"https://api.github.com/users/bramalingam/orgs","repos_url":"https://api.github.com/users/bramalingam/repos","events_url":"https://api.github.com/users/bramalingam/events{/privacy}","received_events_url":"https://api.github.com/users/bramalingam/received_events","type":"User","site_admin":false},"repo":{"id":16076236,"name":"bioformats","full_name":"bramalingam/bioformats","owner":{"login":"bramalingam","id":6438384,"avatar_url":"https://avatars.githubusercontent.com/u/6438384?v=3","gravatar_id":"","url":"https://api.github.com/users/bramalingam","html_url":"https://github.com/bramalingam","followers_url":"https://api.github.com/users/bramalingam/followers","following_url":"https://api.github.com/users/bramalingam/following{/other_user}","gists_url":"https://api.github.com/users/bramalingam/gists{/gist_id}","starred_url":"https://api.github.com/users/bramalingam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramalingam/subscriptions","organizations_url":"https://api.github.com/users/bramalingam/orgs","repos_url":"https://api.github.com/users/bramalingam/repos","events_url":"https://api.github.com/users/bramalingam/events{/privacy}","received_events_url":"https://api.github.com/users/bramalingam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bramalingam/bioformats","description":"Bio-Formats is a Java library for reading and writing data in life sciences image file formats. It is developed by the  Open Microscopy Environment (particularly  UW-Madison LOCI and  Glencoe Software). Bio-Formats is released under the  GNU General Public License (GPL); commercial licenses are available from  Glencoe Software. ","fork":true,"url":"https://api.github.com/repos/bramalingam/bioformats","forks_url":"https://api.github.com/repos/bramalingam/bioformats/forks","keys_url":"https://api.github.com/repos/bramalingam/bioformats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bramalingam/bioformats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bramalingam/bioformats/teams","hooks_url":"https://api.github.com/repos/bramalingam/bioformats/hooks","issue_events_url":"https://api.github.com/repos/bramalingam/bioformats/issues/events{/number}","events_url":"https://api.github.com/repos/bramalingam/bioformats/events","assignees_url":"https://api.github.com/repos/bramalingam/bioformats/assignees{/user}","branches_url":"https://api.github.com/repos/bramalingam/bioformats/branches{/branch}","tags_url":"https://api.github.com/repos/bramalingam/bioformats/tags","blobs_url":"https://api.github.com/repos/bramalingam/bioformats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bramalingam/bioformats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bramalingam/bioformats/git/refs{/sha}","trees_url":"https://api.github.com/repos/bramalingam/bioformats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bramalingam/bioformats/statuses/{sha}","languages_url":"https://api.github.com/repos/bramalingam/bioformats/languages","stargazers_url":"https://api.github.com/repos/bramalingam/bioformats/stargazers","contributors_url":"https://api.github.com/repos/bramalingam/bioformats/contributors","subscribers_url":"https://api.github.com/repos/bramalingam/bioformats/subscribers","subscription_url":"https://api.github.com/repos/bramalingam/bioformats/subscription","commits_url":"https://api.github.com/repos/bramalingam/bioformats/commits{/sha}","git_commits_url":"https://api.github.com/repos/bramalingam/bioformats/git/commits{/sha}","comments_url":"https://api.github.com/repos/bramalingam/bioformats/comments{/number}","issue_comment_url":"https://api.github.com/repos/bramalingam/bioformats/issues/comments{/number}","contents_url":"https://api.github.com/repos/bramalingam/bioformats/contents/{+path}","compare_url":"https://api.github.com/repos/bramalingam/bioformats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bramalingam/bioformats/merges","archive_url":"https://api.github.com/repos/bramalingam/bioformats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bramalingam/bioformats/downloads","issues_url":"https://api.github.com/repos/bramalingam/bioformats/issues{/number}","pulls_url":"https://api.github.com/repos/bramalingam/bioformats/pulls{/number}","milestones_url":"https://api.github.com/repos/bramalingam/bioformats/milestones{/number}","notifications_url":"https://api.github.com/repos/bramalingam/bioformats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bramalingam/bioformats/labels{/name}","releases_url":"https://api.github.com/repos/bramalingam/bioformats/releases{/id}","created_at":"2014-01-20T16:32:13Z","updated_at":"2014-11-20T15:43:50Z","pushed_at":"2015-05-06T13:04:49Z","git_url":"git://github.com/bramalingam/bioformats.git","ssh_url":"git@github.com:bramalingam/bioformats.git","clone_url":"https://github.com/bramalingam/bioformats.git","svn_url":"https://github.com/bramalingam/bioformats","homepage":"http://www.openmicroscopy.org/site/products/bio-formats","size":251266,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"develop"}},"base":{"label":"openmicroscopy:develop","ref":"develop","sha":"ae481d4afa13f9fd75b117b3a46480a3f1b817c3","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":2510503,"name":"bioformats","full_name":"openmicroscopy/bioformats","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/bioformats","description":"Bio-Formats is a Java library for reading and writing data in life sciences image file formats. It is developed by the  Open Microscopy Environment (particularly  UW-Madison LOCI and  Glencoe Software). Bio-Formats is released under the  GNU General Public License (GPL); commercial licenses are available from  Glencoe Software. ","fork":false,"url":"https://api.github.com/repos/openmicroscopy/bioformats","forks_url":"https://api.github.com/repos/openmicroscopy/bioformats/forks","keys_url":"https://api.github.com/repos/openmicroscopy/bioformats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmicroscopy/bioformats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmicroscopy/bioformats/teams","hooks_url":"https://api.github.com/repos/openmicroscopy/bioformats/hooks","issue_events_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/events{/number}","events_url":"https://api.github.com/repos/openmicroscopy/bioformats/events","assignees_url":"https://api.github.com/repos/openmicroscopy/bioformats/assignees{/user}","branches_url":"https://api.github.com/repos/openmicroscopy/bioformats/branches{/branch}","tags_url":"https://api.github.com/repos/openmicroscopy/bioformats/tags","blobs_url":"https://api.github.com/repos/openmicroscopy/bioformats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmicroscopy/bioformats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmicroscopy/bioformats/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmicroscopy/bioformats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmicroscopy/bioformats/statuses/{sha}","languages_url":"https://api.github.com/repos/openmicroscopy/bioformats/languages","stargazers_url":"https://api.github.com/repos/openmicroscopy/bioformats/stargazers","contributors_url":"https://api.github.com/repos/openmicroscopy/bioformats/contributors","subscribers_url":"https://api.github.com/repos/openmicroscopy/bioformats/subscribers","subscription_url":"https://api.github.com/repos/openmicroscopy/bioformats/subscription","commits_url":"https://api.github.com/repos/openmicroscopy/bioformats/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmicroscopy/bioformats/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmicroscopy/bioformats/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmicroscopy/bioformats/contents/{+path}","compare_url":"https://api.github.com/repos/openmicroscopy/bioformats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmicroscopy/bioformats/merges","archive_url":"https://api.github.com/repos/openmicroscopy/bioformats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmicroscopy/bioformats/downloads","issues_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues{/number}","pulls_url":"https://api.github.com/repos/openmicroscopy/bioformats/pulls{/number}","milestones_url":"https://api.github.com/repos/openmicroscopy/bioformats/milestones{/number}","notifications_url":"https://api.github.com/repos/openmicroscopy/bioformats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmicroscopy/bioformats/labels{/name}","releases_url":"https://api.github.com/repos/openmicroscopy/bioformats/releases{/id}","created_at":"2011-10-04T08:06:14Z","updated_at":"2015-05-06T13:32:48Z","pushed_at":"2015-05-06T13:32:47Z","git_url":"git://github.com/openmicroscopy/bioformats.git","ssh_url":"git@github.com:openmicroscopy/bioformats.git","clone_url":"https://github.com/openmicroscopy/bioformats.git","svn_url":"https://github.com/openmicroscopy/bioformats","homepage":"http://www.openmicroscopy.org/site/products/bio-formats","size":282320,"stargazers_count":82,"watchers_count":82,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":105,"mirror_url":null,"open_issues_count":13,"forks":105,"open_issues":13,"watchers":82,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/1781"},"html":{"href":"https://github.com/openmicroscopy/bioformats/pull/1781"},"issue":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/issues/1781"},"comments":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/issues/1781/comments"},"review_comments":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/1781/comments"},"review_comment":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/1781/commits"},"statuses":{"href":"https://api.github.com/repos/openmicroscopy/bioformats/statuses/c46f955374ea983b257ecd5d15c8aa4f27d4f3ce"}}}}