{"action":"created","issue":{"url":"https://api.github.com/repos/bigdatagenomics/adam/issues/556","labels_url":"https://api.github.com/repos/bigdatagenomics/adam/issues/556/labels{/name}","comments_url":"https://api.github.com/repos/bigdatagenomics/adam/issues/556/comments","events_url":"https://api.github.com/repos/bigdatagenomics/adam/issues/556/events","html_url":"https://github.com/bigdatagenomics/adam/pull/556","id":55373128,"number":556,"title":"fixed options in gtf parser","user":{"login":"antonkulaga","id":842436,"avatar_url":"https://avatars.githubusercontent.com/u/842436?v=3","gravatar_id":"","url":"https://api.github.com/users/antonkulaga","html_url":"https://github.com/antonkulaga","followers_url":"https://api.github.com/users/antonkulaga/followers","following_url":"https://api.github.com/users/antonkulaga/following{/other_user}","gists_url":"https://api.github.com/users/antonkulaga/gists{/gist_id}","starred_url":"https://api.github.com/users/antonkulaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonkulaga/subscriptions","organizations_url":"https://api.github.com/users/antonkulaga/orgs","repos_url":"https://api.github.com/users/antonkulaga/repos","events_url":"https://api.github.com/users/antonkulaga/events{/privacy}","received_events_url":"https://api.github.com/users/antonkulaga/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-24T14:47:46Z","updated_at":"2015-01-25T20:06:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bigdatagenomics/adam/pulls/556","html_url":"https://github.com/bigdatagenomics/adam/pull/556","diff_url":"https://github.com/bigdatagenomics/adam/pull/556.diff","patch_url":"https://github.com/bigdatagenomics/adam/pull/556.patch"},"body":"Lines like:\r\n```scala\r\nOption(attrs(\"gene_id\"))\r\n```\r\ndo not make sense as if gene_id is absent (that is the case in some gtf files) it fires an error and only then wraps it by Option. If you want to get Some or None without errors you should use \r\n```scala \r\nattrs.get(\"gene_id\")\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/bigdatagenomics/adam/issues/comments/71389921","html_url":"https://github.com/bigdatagenomics/adam/pull/556#issuecomment-71389921","issue_url":"https://api.github.com/repos/bigdatagenomics/adam/issues/556","id":71389921,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T20:06:03Z","updated_at":"2015-01-25T20:06:03Z","body":"Test PASSed.\nRefer to this link for build results (access rights to CI server needed): \nhttps://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/557/\nTest PASSed."}}