{"action":"closed","issue":{"url":"https://api.github.com/repos/nicola-decao/MolGAN/issues/4","repository_url":"https://api.github.com/repos/nicola-decao/MolGAN","labels_url":"https://api.github.com/repos/nicola-decao/MolGAN/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/nicola-decao/MolGAN/issues/4/comments","events_url":"https://api.github.com/repos/nicola-decao/MolGAN/issues/4/events","html_url":"https://github.com/nicola-decao/MolGAN/issues/4","id":380834943,"node_id":"MDU6SXNzdWUzODA4MzQ5NDM=","number":4,"title":"data problem","user":{"login":"zeyuwen","id":18474936,"node_id":"MDQ6VXNlcjE4NDc0OTM2","avatar_url":"https://avatars2.githubusercontent.com/u/18474936?v=4","gravatar_id":"","url":"https://api.github.com/users/zeyuwen","html_url":"https://github.com/zeyuwen","followers_url":"https://api.github.com/users/zeyuwen/followers","following_url":"https://api.github.com/users/zeyuwen/following{/other_user}","gists_url":"https://api.github.com/users/zeyuwen/gists{/gist_id}","starred_url":"https://api.github.com/users/zeyuwen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeyuwen/subscriptions","organizations_url":"https://api.github.com/users/zeyuwen/orgs","repos_url":"https://api.github.com/users/zeyuwen/repos","events_url":"https://api.github.com/users/zeyuwen/events{/privacy}","received_events_url":"https://api.github.com/users/zeyuwen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-14T18:43:32Z","updated_at":"2018-11-18T04:49:09Z","closed_at":"2018-11-18T04:49:09Z","author_association":"NONE","body":"I meet errors when I convert the data format using `sparse_molecular_dataset.py`, like this:\r\n```\r\n[02:21:06] Explicit valence for atom # 1 C, 5, is greater than permitted\r\n[02:21:06] ERROR: Could not sanitize molecule ending on line 9097\r\n[02:21:06] ERROR: Explicit valence for atom # 1 C, 5, is greater than permitted\r\n[02:21:06] Explicit valence for atom # 1 C, 5, is greater than permitted\r\n[02:21:06] ERROR: Could not sanitize molecule ending on line 35785\r\n[02:21:06] ERROR: Explicit valence for atom # 1 C, 5, is greater than permitted\r\n[02:21:06] Explicit valence for atom # 4 C, 5, is greater than permitted\r\n[02:21:06] ERROR: Could not sanitize molecule ending on line 62866\r\n[02:21:06] ERROR: Explicit valence for atom # 4 C, 5, is greater than permitted\r\n[02:21:06] Explicit valence for atom # 2 C, 5, is greater than permitted\r\n[02:21:06] ERROR: Could not sanitize molecule ending on line 66832\r\n\r\n```\r\n\r\nand finally, the error message is \r\n```\r\nTraceback (most recent call last):\r\n  File \"sparse_molecular_dataset.py\", line 326, in <module>\r\n    data.generate('data/gdb9.sdf', filters=lambda x: x.GetNumAtoms() <= 9)\r\n  File \"sparse_molecular_dataset.py\", line 53, in generate\r\n    self._generate_AX()\r\n  File \"sparse_molecular_dataset.py\", line 127, in _generate_AX\r\n    pr = ProgressBar(60, len(self.data))\r\n  File \"/home/zeyuwen/workspace/anaconda3/envs/tf/lib/python3.6/site-packages/progress_bar.py\", line 113, in __init__\r\n    self.title = title + \": \"\r\nTypeError: unsupported operand type(s) for +: 'int' and 'str'\r\n```\r\nCan you give me some advice?"}}
{"actor":{"display_login":"zeyuwen"}}