Skip to content

Commit

Permalink
bids-script: delete
Browse files Browse the repository at this point in the history
  • Loading branch information
metachris committed Jun 11, 2024
1 parent 3aca0bf commit a27889b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/bids-combine-and-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ echo ""
# ALL BIDS
fn_out="${date}_all.csv"
fn_out_zip="${fn_out}.zip"
fn_out_gz="${fn_out}.gz"
rm -f $fn_out $fn_out_zip $fn_out_gz
rm -f $fn_out $fn_out_zip

echo "Combining all bids..."
first="1"
Expand All @@ -37,6 +36,7 @@ wc -l $fn_out
zip ${fn_out_zip} $fn_out
echo "Wrote ${fn_out_zip}"
rm -f $fn_out
rm -f all*.csv

# Upload
if [[ "${UPLOAD}" != "0" ]]; then
Expand All @@ -55,8 +55,7 @@ echo ""
echo "Combining top bids..."
fn_out="${date}_top.csv"
fn_out_zip="${fn_out}.zip"
fn_out_gz="${fn_out}.gz"
rm -f $fn_out $fn_out_zip $fn_out_gz
rm -f $fn_out $fn_out_zip

first="1"
for fn in $(\ls top*); do
Expand All @@ -72,6 +71,7 @@ wc -l $fn_out
zip ${fn_out_zip} $fn_out
echo "Wrote ${fn_out_zip}"
rm -f $fn_out
rm -f top*.csv

# Upload
if [[ "${UPLOAD}" != "0" ]]; then
Expand Down

0 comments on commit a27889b

Please sign in to comment.