Skip to content

Releases

SWC-Studio v0.3.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 21:10

Full Changelog: v0.2.1...v0.3.0

SWC-Studio v0.2.1

Choose a tag to compare

@github-actions github-actions released this 19 Jun 19:04

Auto-labeling pipeline

Auto-labeling runs in three steps on every file:

  1. QC gate — checks whether the morphology is structurally valid and within the trained distribution. Files that fail QC are rejected with a specific reason (multi-soma, malformed rows, cycles, etc.) so nothing is mislabeled silently.
  2. Labeling model — assigns each node a soma / axon / basal-dendrite / apical-dendrite type. Pyramidal and interneuron cells are handled in the same call; no manual cell-type selection is required.
  3. Flag scoring — surfaces the individual labels the model is least confident about so a reviewer can focus attention. Flagged nodes appear in the GUI issue panel and in the CLI JSON output.

--flag-strictness controls how aggressive the flagger is (0.0 loose → 1.0 strict). --no-flag skips step 3 if you only want the raw labels.


Which file do I download?

🖥️ Desktop-app users

Your OS Download What to do
macOS (Apple Silicon) SWC-Studio-v0.2.1-macOS.zip Unzip → drag SWC-Studio.app to /Applications → right-click → Open the first time (Gatekeeper)
Windows SWC-Studio-v0.2.1-Windows.zip Unzip anywhere → run the .exe inside

Intel Macs are not supported in this bundle — Apple Silicon only.

Already running v0.2.0 desktop app? Open SWC-Studio → Help → Check for Updates. The in-app updater downloads only the changed layer (~452 KB), not the full bundle.

🐍 pip users

python -m pip install --upgrade swcstudio

You don't need to download anything from this page — the wheel auto-installs from PyPI. (swcstudio-0.2.1-py3-none-any.whl and swcstudio-0.2.1.tar.gz are mirrored here for archival only.)

One-time system prerequisite
macOS: brew install libomp
Linux (Debian/Ubuntu): sudo apt-get install libegl1 libgl1 libxkbcommon-x11-0 libxcb-cursor0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-xinerama0 libxcb-xkb1 libxkbcommon0 libdbus-1-3 libfontconfig1
Windows: nothing to install — the wheel is self-contained.

Verify with swcstudio doctor.

🛠️ Source users

git pull && python -m pip install -e .

No release download needed. Same system prerequisites as the pip path above.


Files you should ignore

Consumed by the in-app updater automatically — end users never click these:

  • swcstudio-code-v0.2.1.zip — code-only delta layer (452 KB)
  • swcstudio-models-v0.2.1.zip — models-only delta layer (35.6 MB)
  • update_manifest.json — pointer the updater fetches

Fixes

  • macOS auto-label inference no longer segfaults on Apple Silicon.
  • swcstudio doctor now subprocess-launches a QApplication and reports the actual Qt platform plugin status, catching missing system libraries before the GUI fails.

Install hardening

  • README documents Linux apt-get and macOS brew install libomp prerequisites for the pip and source install paths.
  • CI matrix smoke-tests both pip install swcstudio (wheel) and pip install -e . (source) across Ubuntu + macOS + Windows × Python 3.10/3.11/3.12 on every push.

Provenance

Mutations from CLI, GUI, and batch tools are recorded into a content-addressed, encrypted <stem>_history.swcstudio archive with a SQLite query index. CLI: swcstudio history {log,show,checkout,branch,switch,tag,checkpoint,reproduce,reindex,verify,gc,export-crate}. See docs/PROVENANCE_SPEC.md.


Full Changelog: v0.2.0...v0.2.1

SWC-Studio v0.2.0

Choose a tag to compare

@github-actions github-actions released this 07 May 05:27

The first release with modular auto-updates. Future updates are small downloads (~5 MB code, ~21 MB models) instead of full ~300 MB re-downloads.

Highlights

  • 🆕 Modular update mechanism. The bundled .app and Windows .zip now ship as three independent layers — runtime, code, and models — that can update separately. Code-only fixes are tiny downloads instead of redownloading the whole bundle.
  • 🆕 In-app "Check for Updates" menu (Help → Check for Updates...). Detects new releases automatically, downloads only the layers that changed, applies them in place. Reverting an update is just deleting a folder.
  • 🆕 Available on PyPI. pip install swcstudio now works. Wheel is lean (~300 KB) thanks to on-demand model download — first auto-label call fetches the models and caches them locally.
  • 🆕 GNN-augmented auto-labeling. A small Graph Neural Network head replaces the apical-vs-basal decision. Apical F1 +1.3 pp, basal F1 +0.65 pp, headline neurite F1 0.97.

Other improvements

  • Auto-label batch processing: ineligible SWCs (multi-soma, soma-less) now skip cleanly instead of breaking the whole batch
  • "Likely wrong labels" detector runs on a worker thread — no more freeze on file open
  • Auto-label panel UI simplified for non-technical users
  • Fixed "undefined" subtree appearing after auto-label
  • macOS build no longer pops a duplicate window when opening a file (multiprocessing.freeze_support fix)
  • Windows build now bundles torch_geometric source files needed by TorchScript

Installing v0.2.0

You are Download
End user, macOS SWC-Studio-v0.2.0-macOS.zip — extract, drag the .app into Applications
End user, Windows SWC-Studio-v0.2.0-Windows.zip — extract, run the .exe inside
Researcher / scriptable use pip install swcstudio
Developer clone the repo, pip install -e .

Models are bundled inside the .app/.zip — no separate download needed. Pip users get models on first auto-label call (~21 MB, one-time).

Updating from v0.1.0

The "Check for Updates" menu is new in v0.2.0, so existing v0.1.0 users won't see it. One-time manual upgrade: download the .app/.zip from above and replace your old install. After that, future updates flow automatically through the in-app menu.


Full Changelog: v0.1.0...v0.2.0

SWC-Studio v0.1.0

Choose a tag to compare

@xinran-shi xinran-shi released this 01 Apr 23:18

SWC-Studio v0.1.0

This release introduces the first public version of SWC-Studio, a desktop and command-line toolkit for reviewing, validating, repairing, and exporting SWC neuron morphology files.

Highlights

  • Desktop GUI for issue-driven SWC inspection and repair
  • Direct-command CLI workflow for validation, editing, cleanup, and batch processing
  • Shared core logic across GUI and CLI to keep behavior and results consistent
  • Structured text reports for validation, editing operations, and output tracking
  • Live documentation site with organized navigation and step-by-step tutorials

Included Workflows

  • SWC validation and issue review
  • Index cleaning
  • Manual and automatic label editing
  • Manual and automatic radii editing
  • Geometry editing operations such as connect, disconnect, insert, delete, and simplify
  • Batch folder processing for supported CLI workflows

Documentation

The full documentation is available through the project documentation website.
This release also includes packaged assets for easier installation and use.

Release Assets

  • macOS application bundle
  • Windows executable package

Notes

This release reflects the current SWC-Studio v0.1.0 workflow and documentation structure, including the updated direct CLI command interface and aligned GUI/CLI reporting behavior.