Skip to content

Commit a6cc5cd

Browse files
committed
Configure sample images path and default path
1 parent 8d9010f commit a6cc5cd

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
@@ -82,7 +82,8 @@ PACS_AET=SCREENING_PACS
8282
PACS_PORT=4244
8383
PACS_STORAGE_PATH=${BASE_PATH}/data/storage
8484
PACS_DB_PATH=${BASE_PATH}/data/pacs.db
85-
LOG_LEVEL=INFO"
85+
LOG_LEVEL=INFO
86+
SAMPLE_IMAGES_PATH=${BASE_PATH}/current/sample_images"
8687

8788
# Cross-platform base64 encoding (works on macOS and Linux)
8889
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
@@ -38,7 +38,7 @@
3838
PACS_DB_PATH = os.getenv("PACS_DB_PATH", "/var/lib/pacs/pacs.db")
3939
PACS_HOST = os.getenv("PACS_HOST", "localhost")
4040
PACS_PORT = int(os.getenv("PACS_PORT", "4244"))
41-
SAMPLE_IMAGES_PATH = os.getenv("SAMPLE_IMAGES_PATH", "/app/sample_images")
41+
SAMPLE_IMAGES_PATH = os.getenv("SAMPLE_IMAGES_PATH", "sample_images")
4242

4343

4444
class DicomExample:

0 commit comments

Comments
 (0)