hubmapconsortium/hubmap-api-py-client

Should dataset be UUID instead of integer?

Closed this issue · 3 comments

I'm expecting to see a UUID here instead of "19".

>>> from cells_api_py_client import Client
>>> client = Client('https://cells.dev.hubmapconsortium.org/api/')
>>> clusters_with_gene = client.select_clusters(where='gene', has='CASTOR2')
>>> clusters_with_gene.get_list(10)[0]
{'cluster_method': 'leiden', 'cluster_data': 'UMAP', 'grouping_name': '2', 'dataset': 19}

Yes, this definitely should be a UUID. This will be resolved shortly. I'll follow up on here when it is.

Looks good now. Thanks!

>>> from cells_api_py_client import Client
>>> client = Client('https://cells.dev.hubmapconsortium.org/api/')
>>> clusters_with_gene = client.select_clusters(where='gene', has='CASTOR2')
>>> clusters_with_gene.get_list(10)[0]
{'cluster_method': 'leiden', 'cluster_data': 'UMAP', 'grouping_name': '2', 'dataset': '0576b972e074074b4c51a61c3d17a6e3'}