radames commited on
Commit
4f846c7
·
1 Parent(s): 7857181
Files changed (1) hide show
  1. run.sh +6 -3
run.sh CHANGED
@@ -2,11 +2,14 @@
2
 
3
  # Start the orthanc service
4
  # nginx &
5
- Orthanc &
6
 
7
- for i in ls datasets/Task09_Spleen/imagesTs/*.nii.gz; do plastimatch convert --patient-id patient1 --input $i --output-dicom test; done && \
 
 
 
8
 
9
- python -m pynetdicom storescu 127.0.0.1 4242 test -aet MONAILABEL -r && \
10
  # # Start the monailabel service
11
  monailabel start_server --app apps/radiology --studies http://127.0.0.1:8042/dicom-web --conf models deepedit
12
  # monailabel start_server --app apps/radiology --studies datasets/Task09_Spleen/imagesTr --conf models deepedit
 
2
 
3
  # Start the orthanc service
4
  # nginx &
5
+ Orthanc /etc/orthanc/orthanc.json &
6
 
7
+ # for i in ls datasets/Task09_Spleen/imagesTs/*.nii.gz; do
8
+ # plastimatch convert --patient-id patient1 --input $i --output-dicom test
9
+ # done && \
10
+ plastimatch convert --patient-id patient1 --input datasets/Task09_Spleen/imagesTs/spleen_1.nii.gz --output-dicom test && \
11
 
12
+ python -m pynetdicom storescu 127.0.0.1 4242 test -aet MONAILABEL -r -v && \
13
  # # Start the monailabel service
14
  monailabel start_server --app apps/radiology --studies http://127.0.0.1:8042/dicom-web --conf models deepedit
15
  # monailabel start_server --app apps/radiology --studies datasets/Task09_Spleen/imagesTr --conf models deepedit