Lines Matching +full:- +full:rf

3 # Copyright 2017-2018
35 set -e
41 mkdir -p "${ARCHIVE_LOCATION}"
62 curl -Lo "${ARCHIVE_LOCATION}/ssstats.csv" "${SS_URL}/files/ssstats.csv"
67 if [ ! -f "${ARCHIVE_LOCATION}/ssstats.csv" ]; then
77 PROPS=$(head -$((${MATRIX_ID} + 2)) "${ARCHIVE_LOCATION}/ssstats.csv" \
78 | tail -1)
85 IFS="," read -ra PROPS <<< "$(get_properties)"
98 IFS="," read -ra PROPS <<< "$(get_properties)"
131 cat <<- EOT
144 if [ ! -f ${PATH_INFO[4]} ]; then
145 mkdir -p $(dirname ${PATH_INFO[4]})
146 curl -Lo ${PATH_INFO[4]} ${PATH_INFO[3]}
159 mkdir -p ${PATH_INFO[5]}
160 tar -xzf ${PATH_INFO[4]} -C ${PATH_INFO[5]} --strip-components=1
172 if [ ! -e ${PATH_INFO[5]} ]; then
177 SIZE=($(du -b ${PATH_INFO[5]}))
178 rm -rf ${PATH_INFO[5]}
185 SIZE=($(du -b ${PATH_INFO[4]}))
186 rm -rf ${PATH_INFO[4]}
193 head -1 "${ARCHIVE_LOCATION}/ssstats.csv"
199 echo -n "${ARCHIVE_LOCATION}/ssstats.csv "
200 echo "$(head -2 "${ARCHIVE_LOCATION}/ssstats.csv" | tail -1)"
223 EVAL_COND=$(echo $EVAL_COND | sed -e "$REPLACE")
229 INDEX=-2;
230 while IFS='' read -r LINE || [[ -n "$LINE" ]]; do
232 if [[ $INDEX -gt 0 ]]; then
233 IFS="," read -ra TEMP_PROPS <<< "$LINE"
249 -c clean files extracted from archive
250 -d (re)download matrix info file
251 -e download matrix and extract archive
252 -f download matrix and get path to archive
253 -h show this help
254 -i ID matrix id
255 -j print information about the matrix in JSON format
256 -n get number of matrices in collection
257 -p PROPERTY print information about the matrix, PROPERTY is the property to
260 -r remove archive
261 -t TYPE matrix type, TYPE is one of: MM (matrix market, '.mtx'), RB
263 -v get database version
264 -s search database with conditions. It uses @PROPERTY as the
267 Calling $0 without arguments is equivalent to: $0 -i 0 -t MM -v
276 echo 1>&2 "Option -${OPTARG} provided without an argument"
280 echo 1>&2 "Unknown option: -${OPTARG}"
299 if [[ ! "${OPTARG}" =~ ^([0-9]+)$ ]]; then