{"action":"created","issue":{"url":"https://api.github.com/repos/eyurtsev/FlowCytometryTools/issues/15","repository_url":"https://api.github.com/repos/eyurtsev/FlowCytometryTools","labels_url":"https://api.github.com/repos/eyurtsev/FlowCytometryTools/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/eyurtsev/FlowCytometryTools/issues/15/comments","events_url":"https://api.github.com/repos/eyurtsev/FlowCytometryTools/issues/15/events","html_url":"https://github.com/eyurtsev/FlowCytometryTools/issues/15","id":183993469,"number":15,"title":"IntervalGate bug(?)","user":{"login":"alonyan","id":22939455,"avatar_url":"https://avatars.githubusercontent.com/u/22939455?v=3","gravatar_id":"","url":"https://api.github.com/users/alonyan","html_url":"https://github.com/alonyan","followers_url":"https://api.github.com/users/alonyan/followers","following_url":"https://api.github.com/users/alonyan/following{/other_user}","gists_url":"https://api.github.com/users/alonyan/gists{/gist_id}","starred_url":"https://api.github.com/users/alonyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alonyan/subscriptions","organizations_url":"https://api.github.com/users/alonyan/orgs","repos_url":"https://api.github.com/users/alonyan/repos","events_url":"https://api.github.com/users/alonyan/events{/privacy}","received_events_url":"https://api.github.com/users/alonyan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-19T15:21:49Z","updated_at":"2016-10-22T16:18:40Z","closed_at":null,"body":"I've been using your Flow package to do some batch processing. It's awesome. Thanks!\r\n\r\nAnyway, I think there's a small bug in the _identify function for interval gates. At least in my hands, applying an interval gate always returned an error.\r\n\r\nfix:\r\n\r\nI edited gates.py, line 237, to:\r\n\r\n    def _identify(self, dataframe):\r\n        \r\n        idx = (dataframe[self.channels[0]] <= self.vert[1]) & (dataframe[self.channels[0]] >= self.vert[0])\r\n        \r\n        if self.region == 'out':\r\n            idx = ~idx\r\n\r\n        return idx\r\n\r\n\r\nAnd then it works fine. \r\n\r\nAll the best, and thanks again!"},"comment":{"url":"https://api.github.com/repos/eyurtsev/FlowCytometryTools/issues/comments/255537685","html_url":"https://github.com/eyurtsev/FlowCytometryTools/issues/15#issuecomment-255537685","issue_url":"https://api.github.com/repos/eyurtsev/FlowCytometryTools/issues/15","id":255537685,"user":{"login":"eyurtsev","id":3205522,"avatar_url":"https://avatars.githubusercontent.com/u/3205522?v=3","gravatar_id":"","url":"https://api.github.com/users/eyurtsev","html_url":"https://github.com/eyurtsev","followers_url":"https://api.github.com/users/eyurtsev/followers","following_url":"https://api.github.com/users/eyurtsev/following{/other_user}","gists_url":"https://api.github.com/users/eyurtsev/gists{/gist_id}","starred_url":"https://api.github.com/users/eyurtsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyurtsev/subscriptions","organizations_url":"https://api.github.com/users/eyurtsev/orgs","repos_url":"https://api.github.com/users/eyurtsev/repos","events_url":"https://api.github.com/users/eyurtsev/events{/privacy}","received_events_url":"https://api.github.com/users/eyurtsev/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T16:18:40Z","updated_at":"2016-10-22T16:18:40Z","body":"This code looks identical to the current code on master in terms, so I'm not sure why you'd be seeing a difference. Would you be able to send a traceback with the error, so I could write unit test for that?"}}
{"actor":{"display_login":"eyurtsev"}}