Skip to content

Commit 7f319be

Browse files
authored
Merge pull request #112 from PytorchConnectomics/leander/replicabilitystamp
feat: provided all relevant replicabilitystamp information
2 parents 852a0d2 + a33062a commit 7f319be

4 files changed

Lines changed: 63 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Title: SynAnno: Interactive Guided Proofreading of Synaptic Annotations
2+
Authors: Leander Lauenburg, Jakob Troidl, Adam Gohain, Zudi Lin, Hanspeter Pfister, Donglai Wei
3+
Operating System: macOS 12.0+ (Monterey or later)
4+
Repository: https://github.com/PytorchConnectomics/SynAnno
5+
License: MIT
6+
Setup: Docker-based; see setup_synanno.sh for install and run instructions
7+
Interactive: Yes
8+
Justification: SynAnno is an interactive proofreading tool designed for user-guided correction of synaptic annotations. Scripted reproduction is not feasible, as human interaction is essential for navigating neurons and validating synapses. A screen recording is provided to demonstrate the core functionality corresponding to the published demo.

replicabilitystamp/screen_demo.mp4

14.2 MB
Binary file not shown.
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#!/bin/bash
2+
3+
APP_NAME="synanno-app"
4+
CONTAINER_NAME="synanno-container"
5+
6+
# Function to clone, build, and run the SynAnno application
7+
function run_app() {
8+
echo "Cloning and building SynAnno..."
9+
if [ ! -d "SynAnno" ]; then
10+
git clone https://github.com/PytorchConnectomics/SynAnno.git
11+
fi
12+
cd SynAnno || exit 1
13+
14+
echo "Building Docker image ($APP_NAME)..."
15+
docker build -t "$APP_NAME" -f Dockerfile_uwsgi .
16+
17+
echo "Running Docker container ($CONTAINER_NAME) on port 80..."
18+
docker run -d --rm \
19+
-p 80:80 -p 9015:9015 \
20+
--name "$CONTAINER_NAME" \
21+
"$APP_NAME"
22+
23+
sleep 5
24+
echo "Opening SynAnno in your browser at http://localhost/demo"
25+
open http://localhost/demo 2>/dev/null || xdg-open http://localhost/demo
26+
}
27+
28+
# Function to stop and clean up the Docker container and image
29+
function cleanup() {
30+
echo "Stopping and removing Docker container (if running)..."
31+
docker stop "$CONTAINER_NAME" 2>/dev/null || echo "Container not running."
32+
33+
echo "Removing Docker image..."
34+
docker rmi "$APP_NAME"
35+
}
36+
37+
# Handle command-line arguments
38+
case "$1" in
39+
"")
40+
run_app
41+
;;
42+
cleanup)
43+
cleanup
44+
;;
45+
help|-h|--help)
46+
echo "Usage: bash setup_synanno.sh [cleanup]"
47+
echo ""
48+
echo " (no args) Set up and run SynAnno"
49+
echo " cleanup Stop container and remove image"
50+
;;
51+
*)
52+
echo "Unknown argument: $1"
53+
echo "Run with 'help' for usage."
54+
;;
55+
esac

doc/images/synanno_replicabilitystamp_img_250_250.png renamed to replicabilitystamp/synanno_replicabilitystamp_img_250_250.png

File renamed without changes.

0 commit comments

Comments
 (0)