{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/NifTK/nipype/pulls/9","id":88685202,"html_url":"https://github.com/NifTK/nipype/pull/9","diff_url":"https://github.com/NifTK/nipype/pull/9.diff","patch_url":"https://github.com/NifTK/nipype/pull/9.patch","issue_url":"https://api.github.com/repos/NifTK/nipype/issues/9","number":9,"state":"open","locked":false,"title":"Fixing 0 value given to executable","user":{"login":"byvernault","id":3945463,"avatar_url":"https://avatars.githubusercontent.com/u/3945463?v=3","gravatar_id":"","url":"https://api.github.com/users/byvernault","html_url":"https://github.com/byvernault","followers_url":"https://api.github.com/users/byvernault/followers","following_url":"https://api.github.com/users/byvernault/following{/other_user}","gists_url":"https://api.github.com/users/byvernault/gists{/gist_id}","starred_url":"https://api.github.com/users/byvernault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byvernault/subscriptions","organizations_url":"https://api.github.com/users/byvernault/orgs","repos_url":"https://api.github.com/users/byvernault/repos","events_url":"https://api.github.com/users/byvernault/events{/privacy}","received_events_url":"https://api.github.com/users/byvernault/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nI realized that two operations don't work if you use 0 as a value (thr and uthr). The interface set the value to 0.000000 when you give zero as an operand value. The executable failed if you give zero with decimals. \r\n\r\nI added some extra lines of code in _format_arg to check wheter or not the value is 0. If so, return the value zero without decimal.\r\n\r\nKind Regards,\r\n\r\nBen","created_at":"2016-10-10T15:40:32Z","updated_at":"2016-10-10T15:40:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NifTK/nipype/pulls/9/commits","review_comments_url":"https://api.github.com/repos/NifTK/nipype/pulls/9/comments","review_comment_url":"https://api.github.com/repos/NifTK/nipype/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NifTK/nipype/issues/9/comments","statuses_url":"https://api.github.com/repos/NifTK/nipype/statuses/aa632671c852d00f872b84060fb2078e6c30d9e8","head":{"label":"NifTK:ns_fix_maths","ref":"ns_fix_maths","sha":"aa632671c852d00f872b84060fb2078e6c30d9e8","user":{"login":"NifTK","id":2527213,"avatar_url":"https://avatars.githubusercontent.com/u/2527213?v=3","gravatar_id":"","url":"https://api.github.com/users/NifTK","html_url":"https://github.com/NifTK","followers_url":"https://api.github.com/users/NifTK/followers","following_url":"https://api.github.com/users/NifTK/following{/other_user}","gists_url":"https://api.github.com/users/NifTK/gists{/gist_id}","starred_url":"https://api.github.com/users/NifTK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NifTK/subscriptions","organizations_url":"https://api.github.com/users/NifTK/orgs","repos_url":"https://api.github.com/users/NifTK/repos","events_url":"https://api.github.com/users/NifTK/events{/privacy}","received_events_url":"https://api.github.com/users/NifTK/received_events","type":"Organization","site_admin":false},"repo":{"id":19279405,"name":"nipype","full_name":"NifTK/nipype","owner":{"login":"NifTK","id":2527213,"avatar_url":"https://avatars.githubusercontent.com/u/2527213?v=3","gravatar_id":"","url":"https://api.github.com/users/NifTK","html_url":"https://github.com/NifTK","followers_url":"https://api.github.com/users/NifTK/followers","following_url":"https://api.github.com/users/NifTK/following{/other_user}","gists_url":"https://api.github.com/users/NifTK/gists{/gist_id}","starred_url":"https://api.github.com/users/NifTK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NifTK/subscriptions","organizations_url":"https://api.github.com/users/NifTK/orgs","repos_url":"https://api.github.com/users/NifTK/repos","events_url":"https://api.github.com/users/NifTK/events{/privacy}","received_events_url":"https://api.github.com/users/NifTK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NifTK/nipype","description":"Workflows and interfaces for neuroimaging packages","fork":true,"url":"https://api.github.com/repos/NifTK/nipype","forks_url":"https://api.github.com/repos/NifTK/nipype/forks","keys_url":"https://api.github.com/repos/NifTK/nipype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NifTK/nipype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NifTK/nipype/teams","hooks_url":"https://api.github.com/repos/NifTK/nipype/hooks","issue_events_url":"https://api.github.com/repos/NifTK/nipype/issues/events{/number}","events_url":"https://api.github.com/repos/NifTK/nipype/events","assignees_url":"https://api.github.com/repos/NifTK/nipype/assignees{/user}","branches_url":"https://api.github.com/repos/NifTK/nipype/branches{/branch}","tags_url":"https://api.github.com/repos/NifTK/nipype/tags","blobs_url":"https://api.github.com/repos/NifTK/nipype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NifTK/nipype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NifTK/nipype/git/refs{/sha}","trees_url":"https://api.github.com/repos/NifTK/nipype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NifTK/nipype/statuses/{sha}","languages_url":"https://api.github.com/repos/NifTK/nipype/languages","stargazers_url":"https://api.github.com/repos/NifTK/nipype/stargazers","contributors_url":"https://api.github.com/repos/NifTK/nipype/contributors","subscribers_url":"https://api.github.com/repos/NifTK/nipype/subscribers","subscription_url":"https://api.github.com/repos/NifTK/nipype/subscription","commits_url":"https://api.github.com/repos/NifTK/nipype/commits{/sha}","git_commits_url":"https://api.github.com/repos/NifTK/nipype/git/commits{/sha}","comments_url":"https://api.github.com/repos/NifTK/nipype/comments{/number}","issue_comment_url":"https://api.github.com/repos/NifTK/nipype/issues/comments{/number}","contents_url":"https://api.github.com/repos/NifTK/nipype/contents/{+path}","compare_url":"https://api.github.com/repos/NifTK/nipype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NifTK/nipype/merges","archive_url":"https://api.github.com/repos/NifTK/nipype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NifTK/nipype/downloads","issues_url":"https://api.github.com/repos/NifTK/nipype/issues{/number}","pulls_url":"https://api.github.com/repos/NifTK/nipype/pulls{/number}","milestones_url":"https://api.github.com/repos/NifTK/nipype/milestones{/number}","notifications_url":"https://api.github.com/repos/NifTK/nipype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NifTK/nipype/labels{/name}","releases_url":"https://api.github.com/repos/NifTK/nipype/releases{/id}","deployments_url":"https://api.github.com/repos/NifTK/nipype/deployments","created_at":"2014-04-29T14:30:11Z","updated_at":"2016-10-07T13:38:22Z","pushed_at":"2016-10-10T15:39:58Z","git_url":"git://github.com/NifTK/nipype.git","ssh_url":"git@github.com:NifTK/nipype.git","clone_url":"https://github.com/NifTK/nipype.git","svn_url":"https://github.com/NifTK/nipype","homepage":"http://www.mit.edu/~satra/nipype-nightly/","size":23219,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":4,"default_branch":"master"}},"base":{"label":"NifTK:master","ref":"master","sha":"c537467140f3c4d15c110fc9c8eb26e37771edaf","user":{"login":"NifTK","id":2527213,"avatar_url":"https://avatars.githubusercontent.com/u/2527213?v=3","gravatar_id":"","url":"https://api.github.com/users/NifTK","html_url":"https://github.com/NifTK","followers_url":"https://api.github.com/users/NifTK/followers","following_url":"https://api.github.com/users/NifTK/following{/other_user}","gists_url":"https://api.github.com/users/NifTK/gists{/gist_id}","starred_url":"https://api.github.com/users/NifTK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NifTK/subscriptions","organizations_url":"https://api.github.com/users/NifTK/orgs","repos_url":"https://api.github.com/users/NifTK/repos","events_url":"https://api.github.com/users/NifTK/events{/privacy}","received_events_url":"https://api.github.com/users/NifTK/received_events","type":"Organization","site_admin":false},"repo":{"id":19279405,"name":"nipype","full_name":"NifTK/nipype","owner":{"login":"NifTK","id":2527213,"avatar_url":"https://avatars.githubusercontent.com/u/2527213?v=3","gravatar_id":"","url":"https://api.github.com/users/NifTK","html_url":"https://github.com/NifTK","followers_url":"https://api.github.com/users/NifTK/followers","following_url":"https://api.github.com/users/NifTK/following{/other_user}","gists_url":"https://api.github.com/users/NifTK/gists{/gist_id}","starred_url":"https://api.github.com/users/NifTK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NifTK/subscriptions","organizations_url":"https://api.github.com/users/NifTK/orgs","repos_url":"https://api.github.com/users/NifTK/repos","events_url":"https://api.github.com/users/NifTK/events{/privacy}","received_events_url":"https://api.github.com/users/NifTK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NifTK/nipype","description":"Workflows and interfaces for neuroimaging packages","fork":true,"url":"https://api.github.com/repos/NifTK/nipype","forks_url":"https://api.github.com/repos/NifTK/nipype/forks","keys_url":"https://api.github.com/repos/NifTK/nipype/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NifTK/nipype/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NifTK/nipype/teams","hooks_url":"https://api.github.com/repos/NifTK/nipype/hooks","issue_events_url":"https://api.github.com/repos/NifTK/nipype/issues/events{/number}","events_url":"https://api.github.com/repos/NifTK/nipype/events","assignees_url":"https://api.github.com/repos/NifTK/nipype/assignees{/user}","branches_url":"https://api.github.com/repos/NifTK/nipype/branches{/branch}","tags_url":"https://api.github.com/repos/NifTK/nipype/tags","blobs_url":"https://api.github.com/repos/NifTK/nipype/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NifTK/nipype/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NifTK/nipype/git/refs{/sha}","trees_url":"https://api.github.com/repos/NifTK/nipype/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NifTK/nipype/statuses/{sha}","languages_url":"https://api.github.com/repos/NifTK/nipype/languages","stargazers_url":"https://api.github.com/repos/NifTK/nipype/stargazers","contributors_url":"https://api.github.com/repos/NifTK/nipype/contributors","subscribers_url":"https://api.github.com/repos/NifTK/nipype/subscribers","subscription_url":"https://api.github.com/repos/NifTK/nipype/subscription","commits_url":"https://api.github.com/repos/NifTK/nipype/commits{/sha}","git_commits_url":"https://api.github.com/repos/NifTK/nipype/git/commits{/sha}","comments_url":"https://api.github.com/repos/NifTK/nipype/comments{/number}","issue_comment_url":"https://api.github.com/repos/NifTK/nipype/issues/comments{/number}","contents_url":"https://api.github.com/repos/NifTK/nipype/contents/{+path}","compare_url":"https://api.github.com/repos/NifTK/nipype/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NifTK/nipype/merges","archive_url":"https://api.github.com/repos/NifTK/nipype/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NifTK/nipype/downloads","issues_url":"https://api.github.com/repos/NifTK/nipype/issues{/number}","pulls_url":"https://api.github.com/repos/NifTK/nipype/pulls{/number}","milestones_url":"https://api.github.com/repos/NifTK/nipype/milestones{/number}","notifications_url":"https://api.github.com/repos/NifTK/nipype/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NifTK/nipype/labels{/name}","releases_url":"https://api.github.com/repos/NifTK/nipype/releases{/id}","deployments_url":"https://api.github.com/repos/NifTK/nipype/deployments","created_at":"2014-04-29T14:30:11Z","updated_at":"2016-10-07T13:38:22Z","pushed_at":"2016-10-10T15:39:58Z","git_url":"git://github.com/NifTK/nipype.git","ssh_url":"git@github.com:NifTK/nipype.git","clone_url":"https://github.com/NifTK/nipype.git","svn_url":"https://github.com/NifTK/nipype","homepage":"http://www.mit.edu/~satra/nipype-nightly/","size":23219,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NifTK/nipype/pulls/9"},"html":{"href":"https://github.com/NifTK/nipype/pull/9"},"issue":{"href":"https://api.github.com/repos/NifTK/nipype/issues/9"},"comments":{"href":"https://api.github.com/repos/NifTK/nipype/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/NifTK/nipype/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/NifTK/nipype/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NifTK/nipype/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/NifTK/nipype/statuses/aa632671c852d00f872b84060fb2078e6c30d9e8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"byvernault"}}