{"action":"created","issue":{"url":"https://api.github.com/repos/gammapy/gamma-sky/issues/61","repository_url":"https://api.github.com/repos/gammapy/gamma-sky","labels_url":"https://api.github.com/repos/gammapy/gamma-sky/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/gammapy/gamma-sky/issues/61/comments","events_url":"https://api.github.com/repos/gammapy/gamma-sky/issues/61/events","html_url":"https://github.com/gammapy/gamma-sky/pull/61","id":197317228,"number":61,"title":"Add TeV catalog to gamma-sky.net","user":{"login":"vorugantia","id":18579919,"avatar_url":"https://avatars.githubusercontent.com/u/18579919?v=3","gravatar_id":"","url":"https://api.github.com/users/vorugantia","html_url":"https://github.com/vorugantia","followers_url":"https://api.github.com/users/vorugantia/followers","following_url":"https://api.github.com/users/vorugantia/following{/other_user}","gists_url":"https://api.github.com/users/vorugantia/gists{/gist_id}","starred_url":"https://api.github.com/users/vorugantia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vorugantia/subscriptions","organizations_url":"https://api.github.com/users/vorugantia/orgs","repos_url":"https://api.github.com/users/vorugantia/repos","events_url":"https://api.github.com/users/vorugantia/events{/privacy}","received_events_url":"https://api.github.com/users/vorugantia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-23T06:02:01Z","updated_at":"2016-12-31T13:05:14Z","closed_at":"2016-12-23T23:12:35Z","pull_request":{"url":"https://api.github.com/repos/gammapy/gamma-sky/pulls/61","html_url":"https://github.com/gammapy/gamma-sky/pull/61","diff_url":"https://github.com/gammapy/gamma-sky/pull/61.diff","patch_url":"https://github.com/gammapy/gamma-sky/pull/61.patch"},"body":"In this PR, I've mainly been working to add our new TeV catalog (from gamma-cat) to the website. This is what I've done:\r\n\r\n* Load new TeV catalog in `catalogs.py`\r\n* Show TeV catalog in `MapViewComponent`\r\n* Show new data in the detailed view in `CatViewComponent`\r\n\r\nThe app is running perfectly. However, I ran into some problems along the way that I need to fix later (either in this PR or another one):\r\n\r\n* Right now, in `catalogs.py`, I cannot dump data from all columns of the TeV catalog and convert it to JSON with pandas. Here is the error message I get:\r\n\r\n```\r\nValueError: Cannot convert a table with multi-dimensional columns to a pandas DataFrame.\r\n```\r\n\r\nBecause of this, I haven't added distance and spectral info to the detailed view in `CatViewComponent`. Right now it just displays the names and positions of each source. I'm not sure how to work around the error. Maybe I should just ignore all multi-dimensional columns for now?\r\n\r\n* I've started to split up the one popup component into four separate components, each one containing a unique HTML template for their respective catalog. Although I'm halfway there, and the code works as-is, configuring the popup in `MapComponent` still looks very messy and should be fixed.\r\n\r\n\r\n@cdeil - Can you take a look at the code when you're free to see if I'm headed in the right direction? Also, do you have a solution for the Python error I mentioned above? After this PR is closed we should be ready to publish the new website."},"comment":{"url":"https://api.github.com/repos/gammapy/gamma-sky/issues/comments/269864208","html_url":"https://github.com/gammapy/gamma-sky/pull/61#issuecomment-269864208","issue_url":"https://api.github.com/repos/gammapy/gamma-sky/issues/61","id":269864208,"user":{"login":"cdeil","id":852409,"avatar_url":"https://avatars.githubusercontent.com/u/852409?v=3","gravatar_id":"","url":"https://api.github.com/users/cdeil","html_url":"https://github.com/cdeil","followers_url":"https://api.github.com/users/cdeil/followers","following_url":"https://api.github.com/users/cdeil/following{/other_user}","gists_url":"https://api.github.com/users/cdeil/gists{/gist_id}","starred_url":"https://api.github.com/users/cdeil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdeil/subscriptions","organizations_url":"https://api.github.com/users/cdeil/orgs","repos_url":"https://api.github.com/users/cdeil/repos","events_url":"https://api.github.com/users/cdeil/events{/privacy}","received_events_url":"https://api.github.com/users/cdeil/received_events","type":"User","site_admin":false},"created_at":"2016-12-31T13:05:13Z","updated_at":"2016-12-31T13:05:13Z","body":"Thanks!\r\n\r\nI tried this locally just now and it works for me."}}
{"actor":{"display_login":"cdeil"}}