TileDB格式的生物图像可视化JupyterLab扩展
项目描述
tiledb_jupyter_bioimg
TileDB格式的生物图像可视化JupyterLab扩展
需求
- JupyterLab >= 3.0
安装
pip install tiledb_jupyter_bioimg
贡献
开发安装
注意:您将需要NodeJS来构建扩展包。
jlpm
命令是JupyterLab的固定版本的yarn,它是与JupyterLab一起安装的。您可以使用yarn
或npm
替代下面的jlpm
。
# Clone the repo to your local environment
# Change directory to the tiledb_jupyter_bioimg directory
# Install package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Rebuild extension Typescript source after making changes
jlpm run build
您可以在不同的终端中同时监视源目录并运行JupyterLab,以监视扩展源的变化并自动重新构建扩展。
# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm run watch
# Run JupyterLab in another terminal
jupyter lab
在运行watch命令时,每次保存的更改都将立即本地构建并可供您运行的JupyterLab使用。刷新JupyterLab以在浏览器中加载更改(您可能需要等待几秒钟,以便重新构建扩展)。
默认情况下,jlpm run build
命令为此扩展生成源映射,以便更容易使用浏览器开发者工具进行调试。要为JupyterLab核心扩展也生成源映射,可以运行以下命令
jupyter lab build --minimize=False
卸载
pip uninstall tiledb_jupyter_bioimg
用法
from tiledb_jupyter_bioimg import Render
Render("<<NAMESPACE>>", "<<GROUP_ID>>", {"token": "<<TILEDB_API_TOKEN>>>"})
常见问题
如果您收到错误Uncaught (in promise) Error: No provider for: jupyter.extensions.jupyterWidgetRegistry.
,请确保您正在使用正确的ipywidgets
版本(v8)。
项目详情
下载文件
下载适合您平台的应用程序。如果您不确定选择哪一个,请了解更多关于安装包的信息。
源代码分发
tiledb_jupyter_bioimg-0.2.1.tar.gz (454.9 kB 查看散列)
构建分发
tiledb_jupyter_bioimg-0.2.1-py3-none-any.whl (905.3 kB 查看散列)
关闭
tiledb_jupyter_bioimg-0.2.1.tar.gz的散列
算法 | 散列摘要 | |
---|---|---|
SHA256 | 7ee5b2ff69edba70dae229748dc9b43794271676b0e354df74d8f70cf4b62959 |
|
MD5 | cf67fc67cf49bde156ab95f1f61927b7 |
|
BLAKE2b-256 | 32b2b50983500fb3a70c943a5c065c083afa7a747bf98c8f2488b9aa2dff05f3 |
关闭
哈希值 for tiledb_jupyter_bioimg-0.2.1-py3-none-any.whl
算法 | 散列摘要 | |
---|---|---|
SHA256 | ec2b0b85ce792047c2e4a711cdd44bef16ebe9ab4164a0467501934275d8564e |
|
MD5 | c6837cab49c2e1d138b87d5293e365b3 |
|
BLAKE2b-256 | 1cf85b07e9b45f341c2badbe63bf07e40f7af5bb5602b56ab18bab063f918d87 |