anchor.diff:  if [ $? -ne 0 ] ; then
       echo "Could not chown directory in the staging directory for converting iPython notebook. Problem dir: $staging_dir as user yarnapp"
       exit 3
  -fi    
  +fi
   
   cd "$conversion_dir"
   
  
positive.code:     help
  fi
  
  NOTEBOOK_PATH=$1
  HDFS_USER=$2
  CONDA_ENV=$3
  OUTPUT_PATH=$4
  CONVERSION_TYPE=$6
  IMAGE=$7
  CERT_DIR=$8
  
negative.code: 
  NOT_FOUND=127
  
  escape_string(){
    echo "$1" | sed 's/[^0-9a-zA-Z._:/]/\\&/g'
  }
  
  function kill_named {
      CID=$(docker container list -a | grep $CONTAINER_NAME | grep -v grep | awk '{print $1}')
      if [ "$CID" != "" ] ; then
        docker rm -f "$CID" > /dev/null 2>&1
        res=$?
      else
        res=$NOT_FOUND
      fi
      return "$res"
  }
  