Skip to main content

Napari plugin for MouseCHD project

Tool for heart segmentation and congenital heart defect detection in mice.

Installation

There are several ways to run the plugin: (1) from bundle, (2) Containers (Docker or Apptainer), (3) from code

From Bundle

(1) Install Napari by following this instruction https://napari.org/stable/tutorials/fundamentals/installation.html#install-as-a-bundled-app

(2) Install mousechd-napari plugin: * Run Napari * Plugins --> Install/Uninstall Plugins ... --> Search for mousechd-napari --> Click on install.

(3) Restart Napari to run the plugin

Containers

Docker

Pull docker
sudo docker pull hoanguyen93/mousechd-napari
Run MouseCHD Plugin
  • Run plugin with local resources:

    sudo docker run --gpus all -v <path/to/home/on/host>:<path/to/home/on/host> -it --rm -p 9876:9876 -p 6006:6006 hoanguyen93/mousechd-napari
    
    Example:
    sudo docker run --gpus all -v /home/hnguyent:/home/hnguyent -it --rm -p 9876:9876 -p 6006:6006 hoanguyen93/mousechd-napari
    

    Open this link on your browser: http://localhost:9876/

  • Run plugin with server resources:

    • Follow this instruction to setup running on server.
    • Copy ~/.ssh folder to a temporary location, for example in ~/Downloads: cp -r ~/.ssh ~/Downloads/
    • Change ownership for temporary ~/Downloads/.ssh folder: chown -R root:root ~/Downloads/.ssh
    • Run docker: udo docker run --gpus all -v <path/to/home/on/host>:<path/to/home/on/host> -v /home/hnguyent/Downloads/.ssh:/root/.ssh:ro -it --rm -p 9876:9876 -p 6006:6006 hoanguyen93/mousechd-napari
    • Open this link on your browser: http://localhost:9876/
Known issues
  • The plugin in docker container can't display 3D view, please choose 2D view to display the sample and images.

Apptainer (Singularity)

If you want to run with server resource, follow this instruction to setup running on server.

  • Download Apptainer image mousechd-napari.sif from (Zenodo)[https://zenodo.org/records/14652180] or simply: wget https://zenodo.org/records/14652180/files/mousechd-napari.sif
  • Run the plugin:
apptainer exec \
    --nv \
    --bind /tmp/.X11-unix:/tmp/.X11-unix \
    --env DISPLAY=$DISPLAY \
    <path/to/mousechd-napari.sif> napari

From code

conda create -n mousechd_napari python=3.9
conda activate mousechd_napari
pip install "napari[all]"
pip install mousechd-napari
napari

How to use

Please find details instruction in folder docs

Metadata

Release files for mousechd-napari 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for mousechd-napari 0.0.4
File Interpreter ABI Platform Actions
mousechd_napari-0.0.4-py3-none-any.whl Python 3 none any Details for mousechd_napari-0.0.4-py3-none-any.whl

Release files / mousechd_napari-0.0.4-py3-none-any.whl

Download URL mousechd_napari-0.0.4-py3-none-any.whl
Size 22.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e53de2ccb31bd06629a90150e4c078d0f540d829bc8a6057432adab1ecbd498
BLAKE2b-256 checksum
How to use checksums
6d77d3c7e475a2b6c2114740b56ea8fa376d0806b67b97f972697a8dc04c135d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.7

Security for mousechd-napari 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page