higlass / higlass/higlass-server
link_tile returns a new uuid as a bytestring
- Dominant language
- Python
- Stars
- 22
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
When you register a Higlass file via `/api/v/link_tile`, the uuid is a byte string instead of an encoded string. In Python 3, it turns the uuid into an encoded string `"b''"`, including the `b''`
I send this payload
```python
{
'coordSystem': 'GRCh38',
'filepath': '/.chrom.sizes',
'filetype': 'chromsizes-tsv',
'datatype': 'chromsizes'
}
```
```python
res = requests.post(
higlass_server + '/api/v1/link_tile/',
data=json.dumps(payload),
auth=authentication,
headers=headers
)
```
The server returns
`{'uuid': "b'Cr1CSDnZSEqMW-Q2lM01Mw'"}`
The uuid should be encoded to match the JSON response.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.