{"action":"created","issue":{"url":"https://api.github.com/repos/labrad/pylabrad/issues/140","labels_url":"https://api.github.com/repos/labrad/pylabrad/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/labrad/pylabrad/issues/140/comments","events_url":"https://api.github.com/repos/labrad/pylabrad/issues/140/events","html_url":"https://github.com/labrad/pylabrad/issues/140","id":96167665,"number":140,"title":"Float and Int zeros can be added to Values","user":{"login":"zchen088","id":10439313,"avatar_url":"https://avatars.githubusercontent.com/u/10439313?v=3","gravatar_id":"","url":"https://api.github.com/users/zchen088","html_url":"https://github.com/zchen088","followers_url":"https://api.github.com/users/zchen088/followers","following_url":"https://api.github.com/users/zchen088/following{/other_user}","gists_url":"https://api.github.com/users/zchen088/gists{/gist_id}","starred_url":"https://api.github.com/users/zchen088/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zchen088/subscriptions","organizations_url":"https://api.github.com/users/zchen088/orgs","repos_url":"https://api.github.com/users/zchen088/repos","events_url":"https://api.github.com/users/zchen088/events{/privacy}","received_events_url":"https://api.github.com/users/zchen088/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-07-20T21:42:28Z","updated_at":"2015-07-21T02:52:59Z","closed_at":null,"body":"```\r\nIn [39]: 0.0+1*ns\r\nOut[39]: Value(1.0, 'ns')\r\n\r\nIn [40]: 0.1+1*ns\r\n---------------------------------------------------------------------------\r\nTypeError                                 Traceback (most recent call last)\r\n<ipython-input-40-081e8407e5cb> in <module>()\r\n\r\n----> 1 0.1+1*ns\r\n\r\nC:\\Users\\Jimmy\\Desktop\\pylabrad\\labrad\\units.pyc in __add__(self, other)\r\n    257\r\n    258     def __add__(self, other):\r\n--> 259         return WithUnit(self._sum(other, 1, 1), self.unit)\r\n    260\r\n    261     __radd__ = __add__\r\n\r\nC:\\Users\\Jimmy\\Desktop\\pylabrad\\labrad\\units.pyc in _sum(self, other, sign1, si\r\nn2)\r\n    254             return sign1 * self._value\r\n    255         else:\r\n--> 256             raise TypeError(\"Incompatible Units %s, ''\" % (self.unit,))\r\n    257\r\n    258     def __add__(self, other):\r\n\r\nTypeError: Incompatible Units ns, ''\r\n> c:\\users\\jimmy\\desktop\\pylabrad\\labrad\\units.py(256)_sum()\r\n    255         else:\r\n--> 256             raise TypeError(\"Incompatible Units %s, ''\" % (self.unit,))\r\n    257\r\n```"},"comment":{"url":"https://api.github.com/repos/labrad/pylabrad/issues/comments/123133754","html_url":"https://github.com/labrad/pylabrad/issues/140#issuecomment-123133754","issue_url":"https://api.github.com/repos/labrad/pylabrad/issues/140","id":123133754,"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-07-21T02:52:59Z","updated_at":"2015-07-21T02:52:59Z","body":"Did this cause a bug?  If this is just Jimmy wondering if something is\nintentional, then I vote close as WAI.  If it caused a bug in pyle or\nother, then we should try to remove it and see how much (if any) code in\npyle breaks.\n\nOn Mon, Jul 20, 2015 at 7:47 PM, Daniel Sank <notifications@github.com>\nwrote:\n\n> Ok so what's the plan here?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/labrad/pylabrad/issues/140#issuecomment-123133246>.\n>\n"}}