writeLabkeyData.sh 505 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/bin/bash
  2. . `dirname $0`/env.sh
  3. PATIENTID=$1
  4. $WEBDAV/set_project.sh $DSPECTPROJECT
  5. FILES="k1.nrrd vbf.nrrd";
  6. for F in $FILES ; do
  7. f=${PATIENTID}_$F;
  8. $WEBDAV/cp.sh $DSPECTTMP/$PATIENTID/$f $PATIENTID/$f;
  9. done;
  10. $WEBDAV/cp.sh $DSPECTTMP/$PATIENTID/fitPar.txt $PATIENTID/fitPar.txt;
  11. for ((i=1;i<11;i++)) ;
  12. do
  13. f=centers${i}.png
  14. $WEBDAV/cp.sh $DSPECTTMP/$PATIENTID/$f $PATIENTID/$f;
  15. f=${PATIENTID}_center${i}.nrrd
  16. $WEBDAV/cp.sh $DSPECTTMP/$PATIENTID/$f $PATIENTID/$f;
  17. done;
  18. exit 0;