{"action":"created","issue":{"url":"https://api.github.com/repos/labrad/pylabrad/issues/177","labels_url":"https://api.github.com/repos/labrad/pylabrad/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/labrad/pylabrad/issues/177/comments","events_url":"https://api.github.com/repos/labrad/pylabrad/issues/177/events","html_url":"https://github.com/labrad/pylabrad/pull/177","id":113143527,"number":177,"title":"U/ejeffrey/custom unit","user":{"login":"ejeffrey","id":1690140,"avatar_url":"https://avatars.githubusercontent.com/u/1690140?v=3","gravatar_id":"","url":"https://api.github.com/users/ejeffrey","html_url":"https://github.com/ejeffrey","followers_url":"https://api.github.com/users/ejeffrey/followers","following_url":"https://api.github.com/users/ejeffrey/following{/other_user}","gists_url":"https://api.github.com/users/ejeffrey/gists{/gist_id}","starred_url":"https://api.github.com/users/ejeffrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejeffrey/subscriptions","organizations_url":"https://api.github.com/users/ejeffrey/orgs","repos_url":"https://api.github.com/users/ejeffrey/repos","events_url":"https://api.github.com/users/ejeffrey/events{/privacy}","received_events_url":"https://api.github.com/users/ejeffrey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-24T07:29:18Z","updated_at":"2015-10-26T21:51:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/labrad/pylabrad/pulls/177","html_url":"https://github.com/labrad/pylabrad/pull/177","diff_url":"https://github.com/labrad/pylabrad/pull/177.diff","patch_url":"https://github.com/labrad/pylabrad/pull/177.patch"},"body":"This improves handling of non-SI equivalent units (i.e., quantities that are not derived from length, time, mass, current, temperature, mole, luminous intensity, angle, or solid angle).\r\n\r\nThis could be something like 'count' or 'bytes'.\r\n\r\nThis allows non-standard units to have derived units So for instance you can have Mcount or kbyte/s and have them work as expected.\r\n\r\nThis also includes a function addNonSI() that can create these units including the use of SI-style prefixes.\r\n\r\nThis fixes #46 \r\n"},"comment":{"url":"https://api.github.com/repos/labrad/pylabrad/issues/comments/151294874","html_url":"https://github.com/labrad/pylabrad/pull/177#issuecomment-151294874","issue_url":"https://api.github.com/repos/labrad/pylabrad/issues/177","id":151294874,"user":{"login":"ejeffrey","id":1690140,"avatar_url":"https://avatars.githubusercontent.com/u/1690140?v=3","gravatar_id":"","url":"https://api.github.com/users/ejeffrey","html_url":"https://github.com/ejeffrey","followers_url":"https://api.github.com/users/ejeffrey/followers","following_url":"https://api.github.com/users/ejeffrey/following{/other_user}","gists_url":"https://api.github.com/users/ejeffrey/gists{/gist_id}","starred_url":"https://api.github.com/users/ejeffrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejeffrey/subscriptions","organizations_url":"https://api.github.com/users/ejeffrey/orgs","repos_url":"https://api.github.com/users/ejeffrey/repos","events_url":"https://api.github.com/users/ejeffrey/events{/privacy}","received_events_url":"https://api.github.com/users/ejeffrey/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T21:51:30Z","updated_at":"2015-10-26T21:51:30Z","body":"Added that test and also a long comment about the structure of the Unit object.  I also fixed a bug I noticed incidentally that made Unit('rad*m/s').isAngle() return true because it did sum(powers) rather than checking that they were all zero individually."}}