Open qinqian opened 4 years ago
Hi Qian, This all looks good. The only thing I need is a get_dataset_type endpoint. Right now, when I parse the datasets, there is a file that tells me if the dataset is paga, stream, scanpy, etc. I need this information to render the visualization correctly. The following API would be ideal.
def get_dataset_type(db_name):
## type is one of ['STREAM', 'PAGA', 'SCANPY', and anything else we support in the future]
return jsonify({"type": type})
Hi David,
Please see my latest commits, I use a simple way to implement the interface by local file name and extend to other two tools with demo in the function docstring. Happy to discuss with you later.
Best, Qian
@qinqian This looks great! I'll test it out and merge it
Please use this pull request to merge the fix of Seurat 4.
The two app should be run with different ports. The reason why one port is not working is the failure of requests of the api.