In [1]:
import sys
sys.path.append('C:/Users/guolidong/Desktop/debug')
from stereopy_3D_browser import launch
In [2]:
import anndata as ad
adata = ad.read_h5ad('C:/Users/guolidong/Desktop/3d_with_mesh.h5ad')
#adata.obsm['spatial'] = adata.obs['new_x','new_y','z'].copy()
In [4]:
launch(adata,meshes={},cluster_label='annotation',spatial_label='spatial_rigid')
Current front-dir is C:\Users\guolidong\Desktop\debug/vt3d_browser
Starting server on http://127.0.0.1:7654
To ternimate this server , click: http://127.0.0.1:7654/endnow
127.0.0.1 - - [28/Apr/2023 09:21:06] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 09:21:06] "GET /manifest.js?5cf3cd75407bcc3493c0 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 09:21:06] "GET /vendor.js?66968081c6a9e2c57d96 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 09:21:07] "GET /index.js?72d5a750b95866692cc0 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 09:21:07] "GET /summary.json HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 09:21:07] "GET /Anno/annotation.json HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 09:21:07] "GET /favicon.ico HTTP/1.1" 404 -
Server terminate ...
127.0.0.1 - - [28/Apr/2023 09:21:14] "GET /endnow HTTP/1.1" 404 -
In [3]:
launch(adata,meshes={'scene':'C:/Users/guolidong/Desktop/scene.obj'},cluster_label='annotation',spatial_label='spatial_rigid')
Current front-dir is C:\Users\guolidong\Desktop\debug/vt3d_browser
Starting server on http://127.0.0.1:7654
To ternimate this server , click: http://127.0.0.1:7654/endnow
127.0.0.1 - - [28/Apr/2023 09:25:03] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 09:25:03] "GET /manifest.js?5cf3cd75407bcc3493c0 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 09:25:03] "GET /vendor.js?66968081c6a9e2c57d96 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 09:25:03] "GET /index.js?72d5a750b95866692cc0 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 09:25:04] "GET /summary.json HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 09:25:04] "GET /meshes.json HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 09:25:04] "GET /Anno/annotation.json HTTP/1.1" 200 -
Server terminate ...
127.0.0.1 - - [28/Apr/2023 09:25:11] "GET /endnow HTTP/1.1" 404 -
In [3]:
launch(adata,meshes=adata.uns['mesh']['delaunay_3d'],cluster_label='annotation',spatial_label='spatial_rigid')
Current front-dir is C:\Users\guolidong\Desktop\debug/vt3d_browser
Starting server on http://127.0.0.1:7654
To ternimate this server , click: http://127.0.0.1:7654/endnow
127.0.0.1 - - [28/Apr/2023 10:20:53] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:20:53] "GET /manifest.js?5cf3cd75407bcc3493c0 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:20:53] "GET /vendor.js?66968081c6a9e2c57d96 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:20:53] "GET /index.js?72d5a750b95866692cc0 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:20:53] "GET /summary.json HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:20:55] "GET /meshes.json HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:20:55] "GET /Anno/annotation.json HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:22:55] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:22:55] "GET /manifest.js?5cf3cd75407bcc3493c0 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:22:56] "GET /vendor.js?66968081c6a9e2c57d96 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:22:56] "GET /index.js?72d5a750b95866692cc0 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:22:56] "GET /summary.json HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:22:57] "GET /meshes.json HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:22:58] "GET /Anno/annotation.json HTTP/1.1" 200 -
Server terminate ...
127.0.0.1 - - [28/Apr/2023 10:22:59] "GET /endnow HTTP/1.1" 404 -
In [5]:
meshes=adata.uns['mesh']['delaunay_3d']
meshes['scene']='C:/Users/guolidong/Desktop/scene.obj'
launch(adata,meshes=adata.uns['mesh']['delaunay_3d'],cluster_label='annotation',spatial_label='spatial_rigid')
Current front-dir is C:\Users\guolidong\Desktop\debug/vt3d_browser
Starting server on http://127.0.0.1:7654
To ternimate this server , click: http://127.0.0.1:7654/endnow
127.0.0.1 - - [28/Apr/2023 10:23:36] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:23:36] "GET /manifest.js?5cf3cd75407bcc3493c0 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:23:36] "GET /vendor.js?66968081c6a9e2c57d96 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:23:36] "GET /index.js?72d5a750b95866692cc0 HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:23:36] "GET /summary.json HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:23:38] "GET /meshes.json HTTP/1.1" 200 -
127.0.0.1 - - [28/Apr/2023 10:23:38] "GET /Anno/annotation.json HTTP/1.1" 200 -
Server terminate ...
127.0.0.1 - - [28/Apr/2023 10:23:56] "GET /endnow HTTP/1.1" 404 -