{"action":"closed","number":169,"pull_request":{"url":"https://api.github.com/repos/BRAINSia/BRAINSTools/pulls/169","id":26992149,"html_url":"https://github.com/BRAINSia/BRAINSTools/pull/169","diff_url":"https://github.com/BRAINSia/BRAINSTools/pull/169.diff","patch_url":"https://github.com/BRAINSia/BRAINSTools/pull/169.patch","issue_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/issues/169","number":169,"state":"closed","locked":false,"title":"BUG: Fix a bug in nrrd header change by gtractResampleDWIInPlace","user":{"login":"aghayoor","id":926354,"avatar_url":"https://avatars.githubusercontent.com/u/926354?v=3","gravatar_id":"","url":"https://api.github.com/users/aghayoor","html_url":"https://github.com/aghayoor","followers_url":"https://api.github.com/users/aghayoor/followers","following_url":"https://api.github.com/users/aghayoor/following{/other_user}","gists_url":"https://api.github.com/users/aghayoor/gists{/gist_id}","starred_url":"https://api.github.com/users/aghayoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghayoor/subscriptions","organizations_url":"https://api.github.com/users/aghayoor/orgs","repos_url":"https://api.github.com/users/aghayoor/repos","events_url":"https://api.github.com/users/aghayoor/events{/privacy}","received_events_url":"https://api.github.com/users/aghayoor/received_events","type":"User","site_admin":false},"body":"When resampling the input DWI image, the gtractResampleDWIInPlace should\r\nalso change the content of gradient diffusions table by both the\r\nmeasurement frame and the input transform file. However, previously the\r\ngradient directions were not affected by the input transform.\r\n\r\nBefore fixing the above bug, I designed a test to catch that in future.\r\nFirst, I added a new option to the gtractResampleDWIInPlace commandline.\r\nIf --writeOutputMetaData ./metaData.csv is specified in the command\r\nline, then it writes out the output image measurement frame and diffusion\r\ngradient directions in a simple CSV file. This helps to be able to verify the\r\noutput image meta data in TestSuite.\r\n\r\nThen, I added new python program to compare two csv files (baseline and\r\ninput) and added a new test based on this new program.","created_at":"2015-01-07T22:13:39Z","updated_at":"2015-01-09T21:35:51Z","closed_at":"2015-01-09T21:35:51Z","merged_at":null,"merge_commit_sha":"2558463b1c3c12a3230a3601a82cb2dca364ac00","assignee":{"login":"hjmjohnson","id":313970,"avatar_url":"https://avatars.githubusercontent.com/u/313970?v=3","gravatar_id":"","url":"https://api.github.com/users/hjmjohnson","html_url":"https://github.com/hjmjohnson","followers_url":"https://api.github.com/users/hjmjohnson/followers","following_url":"https://api.github.com/users/hjmjohnson/following{/other_user}","gists_url":"https://api.github.com/users/hjmjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/hjmjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjmjohnson/subscriptions","organizations_url":"https://api.github.com/users/hjmjohnson/orgs","repos_url":"https://api.github.com/users/hjmjohnson/repos","events_url":"https://api.github.com/users/hjmjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/hjmjohnson/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/pulls/169/commits","review_comments_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/pulls/169/comments","review_comment_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/pulls/comments/{number}","comments_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/issues/169/comments","statuses_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/statuses/91564cb8c598339a83e743a3b3c14b6538f5dca7","head":{"label":"aghayoor:fixGtractResInPlace","ref":"fixGtractResInPlace","sha":"91564cb8c598339a83e743a3b3c14b6538f5dca7","user":{"login":"aghayoor","id":926354,"avatar_url":"https://avatars.githubusercontent.com/u/926354?v=3","gravatar_id":"","url":"https://api.github.com/users/aghayoor","html_url":"https://github.com/aghayoor","followers_url":"https://api.github.com/users/aghayoor/followers","following_url":"https://api.github.com/users/aghayoor/following{/other_user}","gists_url":"https://api.github.com/users/aghayoor/gists{/gist_id}","starred_url":"https://api.github.com/users/aghayoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghayoor/subscriptions","organizations_url":"https://api.github.com/users/aghayoor/orgs","repos_url":"https://api.github.com/users/aghayoor/repos","events_url":"https://api.github.com/users/aghayoor/events{/privacy}","received_events_url":"https://api.github.com/users/aghayoor/received_events","type":"User","site_admin":false},"repo":{"id":9104769,"name":"BRAINSTools","full_name":"aghayoor/BRAINSTools","owner":{"login":"aghayoor","id":926354,"avatar_url":"https://avatars.githubusercontent.com/u/926354?v=3","gravatar_id":"","url":"https://api.github.com/users/aghayoor","html_url":"https://github.com/aghayoor","followers_url":"https://api.github.com/users/aghayoor/followers","following_url":"https://api.github.com/users/aghayoor/following{/other_user}","gists_url":"https://api.github.com/users/aghayoor/gists{/gist_id}","starred_url":"https://api.github.com/users/aghayoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghayoor/subscriptions","organizations_url":"https://api.github.com/users/aghayoor/orgs","repos_url":"https://api.github.com/users/aghayoor/repos","events_url":"https://api.github.com/users/aghayoor/events{/privacy}","received_events_url":"https://api.github.com/users/aghayoor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aghayoor/BRAINSTools","description":"A suite of tools for medical image processing focused on brain analysis","fork":true,"url":"https://api.github.com/repos/aghayoor/BRAINSTools","forks_url":"https://api.github.com/repos/aghayoor/BRAINSTools/forks","keys_url":"https://api.github.com/repos/aghayoor/BRAINSTools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aghayoor/BRAINSTools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aghayoor/BRAINSTools/teams","hooks_url":"https://api.github.com/repos/aghayoor/BRAINSTools/hooks","issue_events_url":"https://api.github.com/repos/aghayoor/BRAINSTools/issues/events{/number}","events_url":"https://api.github.com/repos/aghayoor/BRAINSTools/events","assignees_url":"https://api.github.com/repos/aghayoor/BRAINSTools/assignees{/user}","branches_url":"https://api.github.com/repos/aghayoor/BRAINSTools/branches{/branch}","tags_url":"https://api.github.com/repos/aghayoor/BRAINSTools/tags","blobs_url":"https://api.github.com/repos/aghayoor/BRAINSTools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aghayoor/BRAINSTools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aghayoor/BRAINSTools/git/refs{/sha}","trees_url":"https://api.github.com/repos/aghayoor/BRAINSTools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aghayoor/BRAINSTools/statuses/{sha}","languages_url":"https://api.github.com/repos/aghayoor/BRAINSTools/languages","stargazers_url":"https://api.github.com/repos/aghayoor/BRAINSTools/stargazers","contributors_url":"https://api.github.com/repos/aghayoor/BRAINSTools/contributors","subscribers_url":"https://api.github.com/repos/aghayoor/BRAINSTools/subscribers","subscription_url":"https://api.github.com/repos/aghayoor/BRAINSTools/subscription","commits_url":"https://api.github.com/repos/aghayoor/BRAINSTools/commits{/sha}","git_commits_url":"https://api.github.com/repos/aghayoor/BRAINSTools/git/commits{/sha}","comments_url":"https://api.github.com/repos/aghayoor/BRAINSTools/comments{/number}","issue_comment_url":"https://api.github.com/repos/aghayoor/BRAINSTools/issues/comments/{number}","contents_url":"https://api.github.com/repos/aghayoor/BRAINSTools/contents/{+path}","compare_url":"https://api.github.com/repos/aghayoor/BRAINSTools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aghayoor/BRAINSTools/merges","archive_url":"https://api.github.com/repos/aghayoor/BRAINSTools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aghayoor/BRAINSTools/downloads","issues_url":"https://api.github.com/repos/aghayoor/BRAINSTools/issues{/number}","pulls_url":"https://api.github.com/repos/aghayoor/BRAINSTools/pulls{/number}","milestones_url":"https://api.github.com/repos/aghayoor/BRAINSTools/milestones{/number}","notifications_url":"https://api.github.com/repos/aghayoor/BRAINSTools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aghayoor/BRAINSTools/labels{/name}","releases_url":"https://api.github.com/repos/aghayoor/BRAINSTools/releases{/id}","created_at":"2013-03-29T19:05:47Z","updated_at":"2014-06-20T18:14:54Z","pushed_at":"2015-01-07T22:20:48Z","git_url":"git://github.com/aghayoor/BRAINSTools.git","ssh_url":"git@github.com:aghayoor/BRAINSTools.git","clone_url":"https://github.com/aghayoor/BRAINSTools.git","svn_url":"https://github.com/aghayoor/BRAINSTools","homepage":null,"size":227420,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"BRAINSia:master","ref":"master","sha":"73a6e2d6c2488823ba7d312471982a1897099c98","user":{"login":"BRAINSia","id":811110,"avatar_url":"https://avatars.githubusercontent.com/u/811110?v=3","gravatar_id":"","url":"https://api.github.com/users/BRAINSia","html_url":"https://github.com/BRAINSia","followers_url":"https://api.github.com/users/BRAINSia/followers","following_url":"https://api.github.com/users/BRAINSia/following{/other_user}","gists_url":"https://api.github.com/users/BRAINSia/gists{/gist_id}","starred_url":"https://api.github.com/users/BRAINSia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BRAINSia/subscriptions","organizations_url":"https://api.github.com/users/BRAINSia/orgs","repos_url":"https://api.github.com/users/BRAINSia/repos","events_url":"https://api.github.com/users/BRAINSia/events{/privacy}","received_events_url":"https://api.github.com/users/BRAINSia/received_events","type":"Organization","site_admin":false},"repo":{"id":8290342,"name":"BRAINSTools","full_name":"BRAINSia/BRAINSTools","owner":{"login":"BRAINSia","id":811110,"avatar_url":"https://avatars.githubusercontent.com/u/811110?v=3","gravatar_id":"","url":"https://api.github.com/users/BRAINSia","html_url":"https://github.com/BRAINSia","followers_url":"https://api.github.com/users/BRAINSia/followers","following_url":"https://api.github.com/users/BRAINSia/following{/other_user}","gists_url":"https://api.github.com/users/BRAINSia/gists{/gist_id}","starred_url":"https://api.github.com/users/BRAINSia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BRAINSia/subscriptions","organizations_url":"https://api.github.com/users/BRAINSia/orgs","repos_url":"https://api.github.com/users/BRAINSia/repos","events_url":"https://api.github.com/users/BRAINSia/events{/privacy}","received_events_url":"https://api.github.com/users/BRAINSia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BRAINSia/BRAINSTools","description":"A suite of tools for medical image processing focused on brain analysis","fork":false,"url":"https://api.github.com/repos/BRAINSia/BRAINSTools","forks_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/forks","keys_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/teams","hooks_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/hooks","issue_events_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/issues/events{/number}","events_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/events","assignees_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/assignees{/user}","branches_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/branches{/branch}","tags_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/tags","blobs_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/git/refs{/sha}","trees_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/statuses/{sha}","languages_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/languages","stargazers_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/stargazers","contributors_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/contributors","subscribers_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/subscribers","subscription_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/subscription","commits_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/commits{/sha}","git_commits_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/git/commits{/sha}","comments_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/comments{/number}","issue_comment_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/issues/comments/{number}","contents_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/contents/{+path}","compare_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/merges","archive_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/downloads","issues_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/issues{/number}","pulls_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/pulls{/number}","milestones_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/milestones{/number}","notifications_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/labels{/name}","releases_url":"https://api.github.com/repos/BRAINSia/BRAINSTools/releases{/id}","created_at":"2013-02-19T13:06:31Z","updated_at":"2014-12-30T20:03:12Z","pushed_at":"2015-01-02T22:13:28Z","git_url":"git://github.com/BRAINSia/BRAINSTools.git","ssh_url":"git@github.com:BRAINSia/BRAINSTools.git","clone_url":"https://github.com/BRAINSia/BRAINSTools.git","svn_url":"https://github.com/BRAINSia/BRAINSTools","homepage":"http://brainsia.github.io/BRAINSTools/","size":15179,"stargazers_count":11,"watchers_count":11,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":28,"mirror_url":null,"open_issues_count":2,"forks":28,"open_issues":2,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BRAINSia/BRAINSTools/pulls/169"},"html":{"href":"https://github.com/BRAINSia/BRAINSTools/pull/169"},"issue":{"href":"https://api.github.com/repos/BRAINSia/BRAINSTools/issues/169"},"comments":{"href":"https://api.github.com/repos/BRAINSia/BRAINSTools/issues/169/comments"},"review_comments":{"href":"https://api.github.com/repos/BRAINSia/BRAINSTools/pulls/169/comments"},"review_comment":{"href":"https://api.github.com/repos/BRAINSia/BRAINSTools/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/BRAINSia/BRAINSTools/pulls/169/commits"},"statuses":{"href":"https://api.github.com/repos/BRAINSia/BRAINSTools/statuses/91564cb8c598339a83e743a3b3c14b6538f5dca7"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":115,"deletions":0,"changed_files":5}}