{"action":"created","comment":{"url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/pulls/comments/91108937","pull_request_review_id":11613573,"id":91108937,"diff_hunk":"@@ -1,6 +1,29 @@\n+%==========================================================================\n+%This function runs the testFeatures tests, which test specific features of\n+%the viewer, and the testDataSets tests, which test all datasets available in the\n+%file.\n+%\n+%Authors: Thomas Maullin, Camille Maumet.\n+%==========================================================================\n+\n function runTest()\n+    \n+    %Setup steps for the test.\n     import matlab.unittest.TestSuite;\n-    clear classes;\n-    tests = matlab.unittest.TestSuite.fromFile(which('nidmExampleDataTest'));\n+    \n+    %Create the testDataSets tests.\n+    createTest();\n+    \n+    %Clear all classes we can.\n+    warning('off','MATLAB:objectStillExists');\n+    warning('off','MATLAB:ClassInstanceExists');","path":"test/runTest.m","position":21,"original_position":21,"commit_id":"21db9b159c3661c1da81a8a98714af63f0cdd5c1","original_commit_id":"21db9b159c3661c1da81a8a98714af63f0cdd5c1","user":{"login":"cmaumet","id":5374264,"avatar_url":"https://avatars.githubusercontent.com/u/5374264?v=3","gravatar_id":"","url":"https://api.github.com/users/cmaumet","html_url":"https://github.com/cmaumet","followers_url":"https://api.github.com/users/cmaumet/followers","following_url":"https://api.github.com/users/cmaumet/following{/other_user}","gists_url":"https://api.github.com/users/cmaumet/gists{/gist_id}","starred_url":"https://api.github.com/users/cmaumet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmaumet/subscriptions","organizations_url":"https://api.github.com/users/cmaumet/orgs","repos_url":"https://api.github.com/users/cmaumet/repos","events_url":"https://api.github.com/users/cmaumet/events{/privacy}","received_events_url":"https://api.github.com/users/cmaumet/received_events","type":"User","site_admin":false},"body":"To avoid having to clear those warnings, I think you can just call:\r\n```\r\nclear all\r\n```\r\nat the top of this function (before any import).","created_at":"2016-12-06T16:02:58Z","updated_at":"2016-12-06T16:02:58Z","html_url":"https://github.com/incf-nidash/nidmresults-spmhtml/pull/19#discussion_r91108937","pull_request_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/pulls/comments/91108937"},"html":{"href":"https://github.com/incf-nidash/nidmresults-spmhtml/pull/19#discussion_r91108937"},"pull_request":{"href":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/pulls/19","id":95799601,"html_url":"https://github.com/incf-nidash/nidmresults-spmhtml/pull/19","diff_url":"https://github.com/incf-nidash/nidmresults-spmhtml/pull/19.diff","patch_url":"https://github.com/incf-nidash/nidmresults-spmhtml/pull/19.patch","issue_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/issues/19","number":19,"state":"open","locked":false,"title":"Fsl group data","user":{"login":"TomMaullin","id":22241320,"avatar_url":"https://avatars.githubusercontent.com/u/22241320?v=3","gravatar_id":"","url":"https://api.github.com/users/TomMaullin","html_url":"https://github.com/TomMaullin","followers_url":"https://api.github.com/users/TomMaullin/followers","following_url":"https://api.github.com/users/TomMaullin/following{/other_user}","gists_url":"https://api.github.com/users/TomMaullin/gists{/gist_id}","starred_url":"https://api.github.com/users/TomMaullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomMaullin/subscriptions","organizations_url":"https://api.github.com/users/TomMaullin/orgs","repos_url":"https://api.github.com/users/TomMaullin/repos","events_url":"https://api.github.com/users/TomMaullin/events{/privacy}","received_events_url":"https://api.github.com/users/TomMaullin/received_events","type":"User","site_admin":false},"body":"This pull request is slightly larger than intended. Included is:\r\n\r\n- Tests which generate themselves, based on how which NIDM-Results packs are stored locally, and work on all correctly exported NIDM-Results packs in the NIDM-Results 1.3.0 examples on NeuroVault, downloading data if needed. This addresses issue #12. \r\n- Floating footer has been added. This addresses issue #15.\r\n- Updated comments.","created_at":"2016-11-29T23:42:55Z","updated_at":"2016-12-06T16:09:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b2fcd3b55636d7698964de90bf7e9d3a787615e0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/pulls/19/commits","review_comments_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/pulls/19/comments","review_comment_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/issues/19/comments","statuses_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/statuses/21db9b159c3661c1da81a8a98714af63f0cdd5c1","head":{"label":"TomMaullin:FSLGroupData","ref":"FSLGroupData","sha":"21db9b159c3661c1da81a8a98714af63f0cdd5c1","user":{"login":"TomMaullin","id":22241320,"avatar_url":"https://avatars.githubusercontent.com/u/22241320?v=3","gravatar_id":"","url":"https://api.github.com/users/TomMaullin","html_url":"https://github.com/TomMaullin","followers_url":"https://api.github.com/users/TomMaullin/followers","following_url":"https://api.github.com/users/TomMaullin/following{/other_user}","gists_url":"https://api.github.com/users/TomMaullin/gists{/gist_id}","starred_url":"https://api.github.com/users/TomMaullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomMaullin/subscriptions","organizations_url":"https://api.github.com/users/TomMaullin/orgs","repos_url":"https://api.github.com/users/TomMaullin/repos","events_url":"https://api.github.com/users/TomMaullin/events{/privacy}","received_events_url":"https://api.github.com/users/TomMaullin/received_events","type":"User","site_admin":false},"repo":{"id":70701497,"name":"nidmresults-spmhtml","full_name":"TomMaullin/nidmresults-spmhtml","owner":{"login":"TomMaullin","id":22241320,"avatar_url":"https://avatars.githubusercontent.com/u/22241320?v=3","gravatar_id":"","url":"https://api.github.com/users/TomMaullin","html_url":"https://github.com/TomMaullin","followers_url":"https://api.github.com/users/TomMaullin/followers","following_url":"https://api.github.com/users/TomMaullin/following{/other_user}","gists_url":"https://api.github.com/users/TomMaullin/gists{/gist_id}","starred_url":"https://api.github.com/users/TomMaullin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomMaullin/subscriptions","organizations_url":"https://api.github.com/users/TomMaullin/orgs","repos_url":"https://api.github.com/users/TomMaullin/repos","events_url":"https://api.github.com/users/TomMaullin/events{/privacy}","received_events_url":"https://api.github.com/users/TomMaullin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TomMaullin/nidmresults-spmhtml","description":"Viewing NIDM-Results in a HTML format.","fork":true,"url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml","forks_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/forks","keys_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/teams","hooks_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/hooks","issue_events_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/issues/events{/number}","events_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/events","assignees_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/assignees{/user}","branches_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/branches{/branch}","tags_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/tags","blobs_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/git/refs{/sha}","trees_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/statuses/{sha}","languages_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/languages","stargazers_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/stargazers","contributors_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/contributors","subscribers_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/subscribers","subscription_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/subscription","commits_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/commits{/sha}","git_commits_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/git/commits{/sha}","comments_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/comments{/number}","issue_comment_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/issues/comments{/number}","contents_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/contents/{+path}","compare_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/merges","archive_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/downloads","issues_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/issues{/number}","pulls_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/pulls{/number}","milestones_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/milestones{/number}","notifications_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/labels{/name}","releases_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/releases{/id}","deployments_url":"https://api.github.com/repos/TomMaullin/nidmresults-spmhtml/deployments","created_at":"2016-10-12T13:15:02Z","updated_at":"2016-10-12T13:15:03Z","pushed_at":"2016-11-29T23:37:42Z","git_url":"git://github.com/TomMaullin/nidmresults-spmhtml.git","ssh_url":"git@github.com:TomMaullin/nidmresults-spmhtml.git","clone_url":"https://github.com/TomMaullin/nidmresults-spmhtml.git","svn_url":"https://github.com/TomMaullin/nidmresults-spmhtml","homepage":null,"size":1006,"stargazers_count":0,"watchers_count":0,"language":"Matlab","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":"incf-nidash:master","ref":"master","sha":"7e1b4e406a0df2011f1cf58ed96755f349428cd2","user":{"login":"incf-nidash","id":3944799,"avatar_url":"https://avatars.githubusercontent.com/u/3944799?v=3","gravatar_id":"","url":"https://api.github.com/users/incf-nidash","html_url":"https://github.com/incf-nidash","followers_url":"https://api.github.com/users/incf-nidash/followers","following_url":"https://api.github.com/users/incf-nidash/following{/other_user}","gists_url":"https://api.github.com/users/incf-nidash/gists{/gist_id}","starred_url":"https://api.github.com/users/incf-nidash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incf-nidash/subscriptions","organizations_url":"https://api.github.com/users/incf-nidash/orgs","repos_url":"https://api.github.com/users/incf-nidash/repos","events_url":"https://api.github.com/users/incf-nidash/events{/privacy}","received_events_url":"https://api.github.com/users/incf-nidash/received_events","type":"Organization","site_admin":false},"repo":{"id":68906874,"name":"nidmresults-spmhtml","full_name":"incf-nidash/nidmresults-spmhtml","owner":{"login":"incf-nidash","id":3944799,"avatar_url":"https://avatars.githubusercontent.com/u/3944799?v=3","gravatar_id":"","url":"https://api.github.com/users/incf-nidash","html_url":"https://github.com/incf-nidash","followers_url":"https://api.github.com/users/incf-nidash/followers","following_url":"https://api.github.com/users/incf-nidash/following{/other_user}","gists_url":"https://api.github.com/users/incf-nidash/gists{/gist_id}","starred_url":"https://api.github.com/users/incf-nidash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/incf-nidash/subscriptions","organizations_url":"https://api.github.com/users/incf-nidash/orgs","repos_url":"https://api.github.com/users/incf-nidash/repos","events_url":"https://api.github.com/users/incf-nidash/events{/privacy}","received_events_url":"https://api.github.com/users/incf-nidash/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/incf-nidash/nidmresults-spmhtml","description":"Viewing NIDM-Results in a HTML format.","fork":false,"url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml","forks_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/forks","keys_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/teams","hooks_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/hooks","issue_events_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/issues/events{/number}","events_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/events","assignees_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/assignees{/user}","branches_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/branches{/branch}","tags_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/tags","blobs_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/git/refs{/sha}","trees_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/statuses/{sha}","languages_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/languages","stargazers_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/stargazers","contributors_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/contributors","subscribers_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/subscribers","subscription_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/subscription","commits_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/commits{/sha}","git_commits_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/git/commits{/sha}","comments_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/comments{/number}","issue_comment_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/issues/comments{/number}","contents_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/contents/{+path}","compare_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/merges","archive_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/downloads","issues_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/issues{/number}","pulls_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/pulls{/number}","milestones_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/milestones{/number}","notifications_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/labels{/name}","releases_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/releases{/id}","deployments_url":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/deployments","created_at":"2016-09-22T09:38:34Z","updated_at":"2016-11-28T13:07:23Z","pushed_at":"2016-11-30T12:21:46Z","git_url":"git://github.com/incf-nidash/nidmresults-spmhtml.git","ssh_url":"git@github.com:incf-nidash/nidmresults-spmhtml.git","clone_url":"https://github.com/incf-nidash/nidmresults-spmhtml.git","svn_url":"https://github.com/incf-nidash/nidmresults-spmhtml","homepage":null,"size":1006,"stargazers_count":2,"watchers_count":2,"language":"Matlab","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/pulls/19"},"html":{"href":"https://github.com/incf-nidash/nidmresults-spmhtml/pull/19"},"issue":{"href":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/issues/19"},"comments":{"href":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/incf-nidash/nidmresults-spmhtml/statuses/21db9b159c3661c1da81a8a98714af63f0cdd5c1"}}}}
{"actor":{"display_login":"cmaumet"}}