{"action":"reopened","issue":{"url":"https://api.github.com/repos/daler/gffutils/issues/64","repository_url":"https://api.github.com/repos/daler/gffutils","labels_url":"https://api.github.com/repos/daler/gffutils/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/daler/gffutils/issues/64/comments","events_url":"https://api.github.com/repos/daler/gffutils/issues/64/events","html_url":"https://github.com/daler/gffutils/issues/64","id":148878588,"number":64,"title":"gffutils.create_db | AttributeError: 'str' object has no attribute 'dialect'","user":{"login":"remimarenco","id":2152858,"avatar_url":"https://avatars.githubusercontent.com/u/2152858?v=3","gravatar_id":"","url":"https://api.github.com/users/remimarenco","html_url":"https://github.com/remimarenco","followers_url":"https://api.github.com/users/remimarenco/followers","following_url":"https://api.github.com/users/remimarenco/following{/other_user}","gists_url":"https://api.github.com/users/remimarenco/gists{/gist_id}","starred_url":"https://api.github.com/users/remimarenco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remimarenco/subscriptions","organizations_url":"https://api.github.com/users/remimarenco/orgs","repos_url":"https://api.github.com/users/remimarenco/repos","events_url":"https://api.github.com/users/remimarenco/events{/privacy}","received_events_url":"https://api.github.com/users/remimarenco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-16T18:35:03Z","updated_at":"2016-04-16T19:06:39Z","closed_at":null,"body":"Hi!\r\n\r\nI just tried the version installed through pip, and I get an error about dialect on str object, when I want to create the db.\r\n\r\nIt reproduces on Mac and Linux (Ubuntu), on GTF and GFF3 :/.\r\n\r\nHere is the output:\r\n\r\n```\r\nPython 2.7.6 (default, Jun 22 2015, 17:58:13) \r\n[GCC 4.8.2] on linux2\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n>>> import gffutils\r\n>>> gtf = open(\"augustusDbia3.gtf\", 'r')\r\n>>> db = gffutils.create_db(gtf, \":memory:\")\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/home/remi/Dev/galaxy_env/local/lib/python2.7/site-packages/gffutils/create.py\", line 1231, in create_db\r\n    iterator = iterators.DataIterator(**kwargs)\r\n  File \"/home/remi/Dev/galaxy_env/local/lib/python2.7/site-packages/gffutils/iterators.py\", line 278, in DataIterator\r\n    return _FeatureIterator(**_kwargs)\r\n  File \"/home/remi/Dev/galaxy_env/local/lib/python2.7/site-packages/gffutils/iterators.py\", line 93, in __init__\r\n    self._observed_dialects = [i.dialect for i in self.peek]\r\nAttributeError: 'str' object has no attribute 'dialect'\r\n```\r\n\r\nThanks for the help!"}}