Skip to content

DeepLearnPhysics/spinal-tap

Repository files navigation

Spinal Tap

Spinal Tap is a Dash application that provides simple visualization tools for the Scalable Particle Imaging With Neural Embeddings (SPINE) package.

Installation

You can install Spinal Tap and all dependencies (including Dash, Flask, Plotly, and spine-ml) using pip:

pip install .

Or, for editable development mode:

pip install -e .

Usage

After installation, launch the app using the provided CLI:

spinal-tap

You can also check the installed version with:

spinal-tap --version
# or
spinal-tap -v

Then open your browser to http://0.0.0.0:8888/.

Deployment

Kubernetes

Spinal Tap is deployed on SLAC's S3DF Kubernetes infrastructure and is accessible at:

https://spinal-tap.slac.stanford.edu

The Kubernetes configuration files are located in the k8s/ directory. For deployment instructions and SLAC-specific configuration details, see:

Docker

Docker images are automatically built and published to GitHub Container Registry when version tags are pushed:

docker pull ghcr.io/deeplearnphysics/spinal-tap:latest

To run locally with Docker:

docker run -p 8888:8888 ghcr.io/deeplearnphysics/spinal-tap:latest

Development & CI/CD

  • Code style is enforced with black, isort, and flake8 (pre-commit and CI).
  • The GitHub Actions workflow builds and tests on every commit, PR, tag, and release.
  • Docker images are built automatically on version tag pushes (e.g., v0.1.2).
  • Publishing:
    • On tag push: publishes to Test PyPI (requires TEST_PYPI_API_TOKEN secret).
    • On GitHub Release: publishes to PyPI (requires PYPI_API_TOKEN secret).

About

SPINE Reconstruction Visualization Tool

Resources

Stars

Watchers

Forks

Packages