{"action":"opened","issue":{"url":"https://api.github.com/repos/jordanlab/stringMLST/issues/40","repository_url":"https://api.github.com/repos/jordanlab/stringMLST","labels_url":"https://api.github.com/repos/jordanlab/stringMLST/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/jordanlab/stringMLST/issues/40/comments","events_url":"https://api.github.com/repos/jordanlab/stringMLST/issues/40/events","html_url":"https://github.com/jordanlab/stringMLST/issues/40","id":364615381,"node_id":"MDU6SXNzdWUzNjQ2MTUzODE=","number":40,"title":"python error with --coverage","user":{"login":"mikeyweigand","id":8218139,"node_id":"MDQ6VXNlcjgyMTgxMzk=","avatar_url":"https://avatars2.githubusercontent.com/u/8218139?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeyweigand","html_url":"https://github.com/mikeyweigand","followers_url":"https://api.github.com/users/mikeyweigand/followers","following_url":"https://api.github.com/users/mikeyweigand/following{/other_user}","gists_url":"https://api.github.com/users/mikeyweigand/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeyweigand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeyweigand/subscriptions","organizations_url":"https://api.github.com/users/mikeyweigand/orgs","repos_url":"https://api.github.com/users/mikeyweigand/repos","events_url":"https://api.github.com/users/mikeyweigand/events{/privacy}","received_events_url":"https://api.github.com/users/mikeyweigand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-27T19:12:28Z","updated_at":"2018-09-27T19:12:28Z","closed_at":null,"author_association":"NONE","body":"In attempting to use '--coverage' I encounter the following python error, which I have been unable to correct. Admittedly, I am not a skilled python user.\r\n\r\n Traceback (most recent call last):\r\n  File \"/home/yrh8/Tools/stringMLST/stringMLST.py\", line 1613, in <module>\r\n    getCoverage(results)\r\n  File \"/home/yrh8/Tools/stringMLST/stringMLST.py\", line 790, in getCoverage\r\n    allele = gene+'_'+re.sub(\"*\", \"\", str(results[sample][gene]))\r\n  File \"/usr/lib/python2.7/re.py\", line 151, in sub\r\n    return _compile(pattern, flags).sub(repl, string, count)\r\n  File \"/usr/lib/python2.7/re.py\", line 244, in _compile\r\n    raise error, v # invalid expression\r\nsre_constants.error: nothing to repeat\r\n\r\n"}}
{"actor":{"display_login":"mikeyweigand"}}