{"action":"created","issue":{"url":"https://api.github.com/repos/hail-is/hail/issues/1818","repository_url":"https://api.github.com/repos/hail-is/hail","labels_url":"https://api.github.com/repos/hail-is/hail/issues/1818/labels{/name}","comments_url":"https://api.github.com/repos/hail-is/hail/issues/1818/comments","events_url":"https://api.github.com/repos/hail-is/hail/issues/1818/events","html_url":"https://github.com/hail-is/hail/issues/1818","id":228934731,"number":1818,"title":"import_table error","user":{"login":"lv-xy11","id":20944363,"avatar_url":"https://avatars0.githubusercontent.com/u/20944363?v=3","gravatar_id":"","url":"https://api.github.com/users/lv-xy11","html_url":"https://github.com/lv-xy11","followers_url":"https://api.github.com/users/lv-xy11/followers","following_url":"https://api.github.com/users/lv-xy11/following{/other_user}","gists_url":"https://api.github.com/users/lv-xy11/gists{/gist_id}","starred_url":"https://api.github.com/users/lv-xy11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lv-xy11/subscriptions","organizations_url":"https://api.github.com/users/lv-xy11/orgs","repos_url":"https://api.github.com/users/lv-xy11/repos","events_url":"https://api.github.com/users/lv-xy11/events{/privacy}","received_events_url":"https://api.github.com/users/lv-xy11/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-05-16T07:08:16Z","updated_at":"2017-05-16T12:46:26Z","closed_at":null,"body":"Hi:\r\n   I come form DCH in China. Now I try to use the following commands to import table in tutorial;\r\n   from hail import *\r\n   hs= HailContext()\r\n   table=hc.import_table('1000Genomes.sample_annotations',impute=True).key_by('Sample')\r\nHowever,  an error appeared like this :\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\nNameError: name 'import_table' is not defined.\r\n\r\nShould I import other modules to use import_table command? Thanks."},"comment":{"url":"https://api.github.com/repos/hail-is/hail/issues/comments/301770943","html_url":"https://github.com/hail-is/hail/issues/1818#issuecomment-301770943","issue_url":"https://api.github.com/repos/hail-is/hail/issues/1818","id":301770943,"user":{"login":"tpoterba","id":10562794,"avatar_url":"https://avatars1.githubusercontent.com/u/10562794?v=3","gravatar_id":"","url":"https://api.github.com/users/tpoterba","html_url":"https://github.com/tpoterba","followers_url":"https://api.github.com/users/tpoterba/followers","following_url":"https://api.github.com/users/tpoterba/following{/other_user}","gists_url":"https://api.github.com/users/tpoterba/gists{/gist_id}","starred_url":"https://api.github.com/users/tpoterba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpoterba/subscriptions","organizations_url":"https://api.github.com/users/tpoterba/orgs","repos_url":"https://api.github.com/users/tpoterba/repos","events_url":"https://api.github.com/users/tpoterba/events{/privacy}","received_events_url":"https://api.github.com/users/tpoterba/received_events","type":"User","site_admin":false},"created_at":"2017-05-16T12:46:26Z","updated_at":"2017-05-16T12:46:26Z","body":"Oh, I think I see a problem:\r\n```python\r\nhs= HailContext()\r\ntable=hc.import_table('1000Genomes.sample_annotations',impute=True).key_by('Sample')\r\n```\r\nshould be \r\n```python\r\nhc= HailContext()\r\ntable=hc.import_table('1000Genomes.sample_annotations',impute=True).key_by('Sample')\r\n```"}}
{"actor":{"display_login":"tpoterba"}}