{"action":"created","issue":{"url":"https://api.github.com/repos/DanielAndreasen/SWEETer-Cat/issues/10","repository_url":"https://api.github.com/repos/DanielAndreasen/SWEETer-Cat","labels_url":"https://api.github.com/repos/DanielAndreasen/SWEETer-Cat/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/DanielAndreasen/SWEETer-Cat/issues/10/comments","events_url":"https://api.github.com/repos/DanielAndreasen/SWEETer-Cat/issues/10/events","html_url":"https://github.com/DanielAndreasen/SWEETer-Cat/issues/10","id":241282695,"number":10,"title":"exoplanet data processing error?","user":{"login":"jason-neal","id":10076879,"avatar_url":"https://avatars0.githubusercontent.com/u/10076879?v=3","gravatar_id":"","url":"https://api.github.com/users/jason-neal","html_url":"https://github.com/jason-neal","followers_url":"https://api.github.com/users/jason-neal/followers","following_url":"https://api.github.com/users/jason-neal/following{/other_user}","gists_url":"https://api.github.com/users/jason-neal/gists{/gist_id}","starred_url":"https://api.github.com/users/jason-neal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jason-neal/subscriptions","organizations_url":"https://api.github.com/users/jason-neal/orgs","repos_url":"https://api.github.com/users/jason-neal/repos","events_url":"https://api.github.com/users/jason-neal/events{/privacy}","received_events_url":"https://api.github.com/users/jason-neal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-07T14:33:31Z","updated_at":"2017-07-07T14:35:18Z","closed_at":null,"body":"A number of errors with plot-exo using 066a49460a.\r\n\r\nI think there is something wrong with the exoplanets data processing.\r\n\r\nThe opening plot page discovery year - plmass is empty. and if I try and change the x or y parameters I get \r\n```\r\nbuiltins.ValueError\r\nValueError: min() arg is an empty sequence\r\n```\r\nwith the last line of the traceback being\r\n```\r\nFile \"/home/jneal/Phd/Codes/SWEETer-Cat/sweetercat/app.py\", line 202, in plot_exo\r\nx1 = min(x)\r\n```\r\nSo x is empty here.\r\nIf I try add a colorbar to the blank plot I get \r\n```\r\nbuiltins.ValueError\r\nValueError: Bin edges must be unique: array([ nan,  nan,  nan,  nan,  nan,  nan,  nan,  nan,  nan,  nan,  nan,  nan]).\r\nYou can drop duplicate edges by setting the 'duplicates' kwarg\r\n```\r\nWhich occurs when reaching this line\r\n```\r\nFile \"/home/jneal/Phd/Codes/SWEETer-Cat/sweetercat/app.py\", line 243, in plot_exo\r\ngroups = pd.qcut(z.values, len(COLORS))\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DanielAndreasen/SWEETer-Cat/issues/comments/313699736","html_url":"https://github.com/DanielAndreasen/SWEETer-Cat/issues/10#issuecomment-313699736","issue_url":"https://api.github.com/repos/DanielAndreasen/SWEETer-Cat/issues/10","id":313699736,"user":{"login":"DanielAndreasen","id":4519017,"avatar_url":"https://avatars3.githubusercontent.com/u/4519017?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielAndreasen","html_url":"https://github.com/DanielAndreasen","followers_url":"https://api.github.com/users/DanielAndreasen/followers","following_url":"https://api.github.com/users/DanielAndreasen/following{/other_user}","gists_url":"https://api.github.com/users/DanielAndreasen/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielAndreasen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielAndreasen/subscriptions","organizations_url":"https://api.github.com/users/DanielAndreasen/orgs","repos_url":"https://api.github.com/users/DanielAndreasen/repos","events_url":"https://api.github.com/users/DanielAndreasen/events{/privacy}","received_events_url":"https://api.github.com/users/DanielAndreasen/received_events","type":"User","site_admin":false},"created_at":"2017-07-07T14:35:18Z","updated_at":"2017-07-07T14:35:18Z","body":"Oh wait, did you try to install `PyAstronomy` first? I forgot to add that to the `requirements.txt`"}}
{"actor":{"display_login":"DanielAndreasen"}}