myvariant.py icon indicating copy to clipboard operation
myvariant.py copied to clipboard

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Open Lucifer-ly opened this issue 2 years ago • 0 comments

Traceback (most recent call last): File "linux_test.py", line 36, in print(fea_myvariant('5', 147444935, 'G', 'A')) File "linux_test.py", line 17, in fea_myvariant vt = mv.getvariant(variant, fields='cadd.gerp.n,cadd.gerp.rs') File "/home/Lucifer/.conda/envs/PON_Unsense/lib/python3.7/site-packages/biothings_client/base.py", line 332, in _getannotation from_cache, ret = self._get(_url, kwargs, none_on_404=True, verbose=verbose) File "/home/Lucifer/.conda/envs/PON_Unsense/lib/python3.7/site-packages/biothings_client/base.py", line 169, in _get ret = res.json() File "/home/Lucifer/.conda/envs/PON_Unsense/lib/python3.7/site-packages/requests/models.py", line 910, in json return complexjson.loads(self.text, **kwargs) File "/home/Lucifer/.conda/envs/PON_Unsense/lib/python3.7/json/init.py", line 348, in loads return _default_decoder.decode(s) File "/home/Lucifer/.conda/envs/PON_Unsense/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/home/Lucifer/.conda/envs/PON_Unsense/lib/python3.7/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Lucifer-ly avatar Jan 14 '22 09:01 Lucifer-ly