Repository navigation
SWC-Studio v0.2.1
Auto-labeling pipeline
Auto-labeling runs in three steps on every file:
- 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.
- 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.
- 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 swcstudioYou 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 doctornow subprocess-launches aQApplicationand reports the actual Qt platform plugin status, catching missing system libraries before the GUI fails.
Install hardening
- README documents Linux
apt-getand macOSbrew install libompprerequisites for the pip and source install paths. - CI matrix smoke-tests both
pip install swcstudio(wheel) andpip 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