{"action":"created","issue":{"url":"https://api.github.com/repos/kipoi/kipoi/issues/393","repository_url":"https://api.github.com/repos/kipoi/kipoi","labels_url":"https://api.github.com/repos/kipoi/kipoi/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/kipoi/kipoi/issues/393/comments","events_url":"https://api.github.com/repos/kipoi/kipoi/issues/393/events","html_url":"https://github.com/kipoi/kipoi/pull/393","id":382882455,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNDg2MDU1","number":393,"title":"Added encoding utf8","user":{"login":"Avsecz","id":10011161,"node_id":"MDQ6VXNlcjEwMDExMTYx","avatar_url":"https://avatars3.githubusercontent.com/u/10011161?v=4","gravatar_id":"","url":"https://api.github.com/users/Avsecz","html_url":"https://github.com/Avsecz","followers_url":"https://api.github.com/users/Avsecz/followers","following_url":"https://api.github.com/users/Avsecz/following{/other_user}","gists_url":"https://api.github.com/users/Avsecz/gists{/gist_id}","starred_url":"https://api.github.com/users/Avsecz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avsecz/subscriptions","organizations_url":"https://api.github.com/users/Avsecz/orgs","repos_url":"https://api.github.com/users/Avsecz/repos","events_url":"https://api.github.com/users/Avsecz/events{/privacy}","received_events_url":"https://api.github.com/users/Avsecz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-20T22:57:06Z","updated_at":"2018-11-20T23:29:46Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/kipoi/kipoi/pulls/393","html_url":"https://github.com/kipoi/kipoi/pull/393","diff_url":"https://github.com/kipoi/kipoi/pull/393.diff","patch_url":"https://github.com/kipoi/kipoi/pull/393.patch"},"body":"Fixes the following error by adding `encoding='utf-8'` to `open()`:\r\n\r\n```\r\nException: Unable to load file /home/avsec/.kipoi/models/DeepSEA/predict/model.yaml into class <class 'kipoi.specs.ModelDescription'>.\r\nError: \r\nFailed to convert value (OrderedDict([('inputs', OrderedDict([('name', 'seq'), ('special_type', 'DNASeq'), ('shape', '(4,1,1000)'), ('doc', 'DNA sequence'), ('associated_metadata', 'ranges')])), ('targets', OrderedDict([('name', 'TFBS_DHS_probs'), ('shape', '(919, )'), ('doc', 'Probability of a specific epigentic feature'), ('column_labels', ['../predictor_names.txt'])]))])) to child object class (<class 'kipoi.specs.ModelSchema'>). ... [Original error message: 'ascii' codec can't decode byte 0xc2 in position 7664: ordinal not in range(128)]\r\n```"},"comment":{"url":"https://api.github.com/repos/kipoi/kipoi/issues/comments/440466470","html_url":"https://github.com/kipoi/kipoi/pull/393#issuecomment-440466470","issue_url":"https://api.github.com/repos/kipoi/kipoi/issues/393","id":440466470,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDQ2NjQ3MA==","user":{"login":"coveralls","id":2354108,"node_id":"MDQ6VXNlcjIzNTQxMDg=","avatar_url":"https://avatars1.githubusercontent.com/u/2354108?v=4","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2018-11-20T23:29:46Z","updated_at":"2018-11-20T23:29:46Z","author_association":"NONE","body":"## Pull Request Test Coverage Report for [Build 1771](https://coveralls.io/builds/20213121)\n\n* **23** of **25**   **(92.0%)**  changed or added relevant lines in **9** files are covered.\n* **4** unchanged lines in **1** file lost coverage.\n* Overall coverage decreased (**-0.05%**) to **82.843%**\n\n---\n\n|  Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |\n| :-----|--------------|--------|---: |\n| [kipoi/cli/source_test.py](https://coveralls.io/builds/20213121/source?filename=kipoi%2Fcli%2Fsource_test.py#L338) | 3 | 4 | 75.0%\n| [kipoi/writers.py](https://coveralls.io/builds/20213121/source?filename=kipoi%2Fwriters.py#L487) | 3 | 4 | 75.0%\n<!-- | **Total:** | **23** | **25** | **92.0%** | -->\n\n|  Files with Coverage Reduction | New Missed Lines | % |\n| :-----|--------------|--: |\n| [kipoi/external/torch/data.py](https://coveralls.io/builds/20213121/source?filename=kipoi%2Fexternal%2Ftorch%2Fdata.py#L160) | 4 | 63.53% |\n<!-- | **Total:** | **4** |  | -->\n\n|  Totals | [![Coverage Status](https://coveralls.io/builds/20213121/badge)](https://coveralls.io/builds/20213121) |\n| :-- | --: |\n| Change from base [Build 1762](https://coveralls.io/builds/20208518): |  -0.05% |\n| Covered Lines: | 3858 |\n| Relevant Lines: | 4657 |\n\n---\n##### 💛  - [Coveralls](https://coveralls.io)\n"}}
{"actor":{"display_login":"coveralls"}}