doAnalysisIVF.sh 513 B

1234567891011121314151617181920212223242526
  1. #!/bin/bash
  2. if [ $# -lt 1 ] ; then
  3. echo "Usage $0 patientID \(2SMobr\) \(nclass\) \(realizationId\)"
  4. exit 0;
  5. fi;
  6. SDIR=`dirname $0`;
  7. PATIENTID=$1;
  8. NCLASS=10
  9. if [ $# -gt 1 ] ; then
  10. NCLASS=$2;
  11. fi;
  12. ID=0;
  13. if [ $# -gt 2 ] ; then
  14. ID=$3;
  15. fi;
  16. . $SDIR/env.sh
  17. #$SDIR/loadLabkeyData.sh $PATIENTID;
  18. $MATLAB -sd $MATLABSCRIPTDIR -batch "patientID='${PATIENTID}'; nclass='${NCLASS}'; realizationId='${ID}'; analyzeIVF" >& ~/logs/dynamicSPECT.log;
  19. #$SDIR/writeLabkeyData.sh $PATIENTID;
  20. #$SDIR/removeData.sh $PATIENTID;