Skip to content

Commit aa71253

Browse files
committed
Configure sample images path and default path
1 parent 95f85de commit aa71253

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

scripts/bash/deploy_arc_ring.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ PACS_AET=SCREENING_PACS
7373
PACS_PORT=4244
7474
PACS_STORAGE_PATH=${BASE_PATH}/data/storage
7575
PACS_DB_PATH=${BASE_PATH}/data/pacs.db
76-
LOG_LEVEL=INFO"
76+
LOG_LEVEL=INFO
77+
SAMPLE_IMAGES_PATH=${BASE_PATH}/current/sample_images"
7778

7879
# Cross-platform base64 encoding (works on macOS and Linux)
7980
ENV_CONTENT_B64=$(printf '%s' "$ENV_CONTENT" | base64 | tr -d '\n')

src/modality_emulator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
PACS_DB_PATH = os.getenv("PACS_DB_PATH", "/var/lib/pacs/pacs.db")
4040
PACS_HOST = os.getenv("PACS_HOST", "localhost")
4141
PACS_PORT = int(os.getenv("PACS_PORT", "4244"))
42-
SAMPLE_IMAGES_PATH = os.getenv("SAMPLE_IMAGES_PATH", "/app/sample_images")
42+
SAMPLE_IMAGES_PATH = os.getenv("SAMPLE_IMAGES_PATH", "sample_images")
4343

4444

4545
class DicomExample:

0 commit comments

Comments
 (0)