{"action":"created","issue":{"url":"https://api.github.com/repos/opentrials/processors/issues/19","repository_url":"https://api.github.com/repos/opentrials/processors","labels_url":"https://api.github.com/repos/opentrials/processors/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/opentrials/processors/issues/19/comments","events_url":"https://api.github.com/repos/opentrials/processors/issues/19/events","html_url":"https://github.com/opentrials/processors/pull/19","id":152438850,"number":19,"title":"Feature/gender published data","user":{"login":"roll","id":557395,"avatar_url":"https://avatars.githubusercontent.com/u/557395?v=3","gravatar_id":"","url":"https://api.github.com/users/roll","html_url":"https://github.com/roll","followers_url":"https://api.github.com/users/roll/followers","following_url":"https://api.github.com/users/roll/following{/other_user}","gists_url":"https://api.github.com/users/roll/gists{/gist_id}","starred_url":"https://api.github.com/users/roll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roll/subscriptions","organizations_url":"https://api.github.com/users/roll/orgs","repos_url":"https://api.github.com/users/roll/repos","events_url":"https://api.github.com/users/roll/events{/privacy}","received_events_url":"https://api.github.com/users/roll/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"vitorbaptista","id":76945,"avatar_url":"https://avatars.githubusercontent.com/u/76945?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorbaptista","html_url":"https://github.com/vitorbaptista","followers_url":"https://api.github.com/users/vitorbaptista/followers","following_url":"https://api.github.com/users/vitorbaptista/following{/other_user}","gists_url":"https://api.github.com/users/vitorbaptista/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorbaptista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorbaptista/subscriptions","organizations_url":"https://api.github.com/users/vitorbaptista/orgs","repos_url":"https://api.github.com/users/vitorbaptista/repos","events_url":"https://api.github.com/users/vitorbaptista/events{/privacy}","received_events_url":"https://api.github.com/users/vitorbaptista/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-05-01T21:14:47Z","updated_at":"2016-05-02T18:14:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/opentrials/processors/pulls/19","html_url":"https://github.com/opentrials/processors/pull/19","diff_url":"https://github.com/opentrials/processors/pull/19.diff","patch_url":"https://github.com/opentrials/processors/pull/19.patch"},"body":"https://github.com/opentrials/opentrials/issues/84"},"comment":{"url":"https://api.github.com/repos/opentrials/processors/issues/comments/216315655","html_url":"https://github.com/opentrials/processors/pull/19#issuecomment-216315655","issue_url":"https://api.github.com/repos/opentrials/processors/issues/19","id":216315655,"user":{"login":"vitorbaptista","id":76945,"avatar_url":"https://avatars.githubusercontent.com/u/76945?v=3","gravatar_id":"","url":"https://api.github.com/users/vitorbaptista","html_url":"https://github.com/vitorbaptista","followers_url":"https://api.github.com/users/vitorbaptista/followers","following_url":"https://api.github.com/users/vitorbaptista/following{/other_user}","gists_url":"https://api.github.com/users/vitorbaptista/gists{/gist_id}","starred_url":"https://api.github.com/users/vitorbaptista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitorbaptista/subscriptions","organizations_url":"https://api.github.com/users/vitorbaptista/orgs","repos_url":"https://api.github.com/users/vitorbaptista/repos","events_url":"https://api.github.com/users/vitorbaptista/events{/privacy}","received_events_url":"https://api.github.com/users/vitorbaptista/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T18:14:27Z","updated_at":"2016-05-02T18:14:27Z","body":"@roll Looks good :+1:\r\n\r\nJust a suggestion, you use this pattern in many places:\r\n\r\n```python\r\nfoo = False\r\nif bar:\r\n    foo = True\r\n```\r\n\r\nThat could be simplified to:\r\n\r\n```python\r\nfoo = bool(bar)\r\n```\r\n\r\nOr, when the condition is an actual test, you could do:\r\n\r\n```python\r\nfoo = (bar == \"baz\")\r\n```\r\n\r\nIf the condition is small, I think it's cleaner. However, that's just a minor code style change. Feel free to merge the code as is."}}