{"action":"created","issue":{"url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1106","repository_url":"https://api.github.com/repos/hyperspy/hyperspy","labels_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1106/labels{/name}","comments_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1106/comments","events_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1106/events","html_url":"https://github.com/hyperspy/hyperspy/pull/1106","id":162342250,"number":1106,"title":"Scale/units conversion","user":{"login":"ericpre","id":11851990,"avatar_url":"https://avatars.githubusercontent.com/u/11851990?v=3","gravatar_id":"","url":"https://api.github.com/users/ericpre","html_url":"https://github.com/ericpre","followers_url":"https://api.github.com/users/ericpre/followers","following_url":"https://api.github.com/users/ericpre/following{/other_user}","gists_url":"https://api.github.com/users/ericpre/gists{/gist_id}","starred_url":"https://api.github.com/users/ericpre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericpre/subscriptions","organizations_url":"https://api.github.com/users/ericpre/orgs","repos_url":"https://api.github.com/users/ericpre/repos","events_url":"https://api.github.com/users/ericpre/events{/privacy}","received_events_url":"https://api.github.com/users/ericpre/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hyperspy/hyperspy/labels/enhancement","name":"enhancement","color":"02e10c"},{"url":"https://api.github.com/repos/hyperspy/hyperspy/labels/RELEASE_next_minor","name":"RELEASE_next_minor","color":"fef2c0"},{"url":"https://api.github.com/repos/hyperspy/hyperspy/labels/waiting%20for%20author","name":"waiting for author","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-26T19:08:53Z","updated_at":"2016-07-18T17:06:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hyperspy/hyperspy/pulls/1106","html_url":"https://github.com/hyperspy/hyperspy/pull/1106","diff_url":"https://github.com/hyperspy/hyperspy/pull/1106.diff","patch_url":"https://github.com/hyperspy/hyperspy/pull/1106.patch"},"body":"This pull request aims at avoiding displaying a 1E-9 m or 1000 nm scale bar on images by converting the scale and units when a file is open or data are cropped. Diffraction pattern, EDS and EELS spectra are also converted.\r\nThe convert_units() method of the axes manager allows converting the units manually."},"comment":{"url":"https://api.github.com/repos/hyperspy/hyperspy/issues/comments/233392180","html_url":"https://github.com/hyperspy/hyperspy/pull/1106#issuecomment-233392180","issue_url":"https://api.github.com/repos/hyperspy/hyperspy/issues/1106","id":233392180,"user":{"login":"francisco-dlp","id":989719,"avatar_url":"https://avatars.githubusercontent.com/u/989719?v=3","gravatar_id":"","url":"https://api.github.com/users/francisco-dlp","html_url":"https://github.com/francisco-dlp","followers_url":"https://api.github.com/users/francisco-dlp/followers","following_url":"https://api.github.com/users/francisco-dlp/following{/other_user}","gists_url":"https://api.github.com/users/francisco-dlp/gists{/gist_id}","starred_url":"https://api.github.com/users/francisco-dlp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francisco-dlp/subscriptions","organizations_url":"https://api.github.com/users/francisco-dlp/orgs","repos_url":"https://api.github.com/users/francisco-dlp/repos","events_url":"https://api.github.com/users/francisco-dlp/events{/privacy}","received_events_url":"https://api.github.com/users/francisco-dlp/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T17:06:04Z","updated_at":"2016-07-18T17:06:04Z","body":"The syntax for slicing could also be improved by using pint itself e.g. `s.inav[:30 * ureg.nanometer]`.\r\n\r\nAlso, following #1170, could you send this to RELEASE_next_minor? "}}
{"actor":{"display_login":"francisco-dlp"}}