{"action":"closed","issue":{"url":"https://api.github.com/repos/BIC-MNI/minc-tools/issues/21","labels_url":"https://api.github.com/repos/BIC-MNI/minc-tools/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/BIC-MNI/minc-tools/issues/21/comments","events_url":"https://api.github.com/repos/BIC-MNI/minc-tools/issues/21/events","html_url":"https://github.com/BIC-MNI/minc-tools/issues/21","id":56443308,"number":21,"title":"mincresample -keep_real_range does not work with float volumes.","user":{"login":"rdvincent","id":1395526,"avatar_url":"https://avatars.githubusercontent.com/u/1395526?v=3","gravatar_id":"","url":"https://api.github.com/users/rdvincent","html_url":"https://github.com/rdvincent","followers_url":"https://api.github.com/users/rdvincent/followers","following_url":"https://api.github.com/users/rdvincent/following{/other_user}","gists_url":"https://api.github.com/users/rdvincent/gists{/gist_id}","starred_url":"https://api.github.com/users/rdvincent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdvincent/subscriptions","organizations_url":"https://api.github.com/users/rdvincent/orgs","repos_url":"https://api.github.com/users/rdvincent/repos","events_url":"https://api.github.com/users/rdvincent/events{/privacy}","received_events_url":"https://api.github.com/users/rdvincent/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"rdvincent","id":1395526,"avatar_url":"https://avatars.githubusercontent.com/u/1395526?v=3","gravatar_id":"","url":"https://api.github.com/users/rdvincent","html_url":"https://github.com/rdvincent","followers_url":"https://api.github.com/users/rdvincent/followers","following_url":"https://api.github.com/users/rdvincent/following{/other_user}","gists_url":"https://api.github.com/users/rdvincent/gists{/gist_id}","starred_url":"https://api.github.com/users/rdvincent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdvincent/subscriptions","organizations_url":"https://api.github.com/users/rdvincent/orgs","repos_url":"https://api.github.com/users/rdvincent/repos","events_url":"https://api.github.com/users/rdvincent/events{/privacy}","received_events_url":"https://api.github.com/users/rdvincent/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-03T21:52:58Z","updated_at":"2015-09-11T19:12:16Z","closed_at":"2015-09-11T19:12:16Z","body":"Reported by Alex Zijdenbos:\r\n\r\n> It appears that running mincresample on a float volume while using -keep_real_range, fails. A simple \r\n> example:\r\n> \r\n> $ mincreshape -float /usr/local/bic/share/mni-models/icbm_avg_152_t1_tal_lin.mnc float.mnc\r\n> $ mincstats -quiet -min -max float.mnc\r\n> 236.8016205\r\n> 439776.2188\r\n> \r\n> $ mincresample -keep_real_range float.mnc float_res.mnc\r\n> $ mincstats -quiet -min -max float_res.mnc\r\n> 1.797693135e+308\r\n> -1.797693135e+308\r\n> \r\n> Leaving aside why you'd want to use that option on a float volume\r\n> (happened buried in a script in my case); what should the correct behaviour be?\r\n > Ignore the -keep_real_range option for float volumes I'd imagine?\r\n"}}