Permalink
Browse files

Removed automatic experimental data cleaning

  • Loading branch information...
tenindra committed Jul 26, 2016
1 parent 5b68099 commit 01cc3b6f90d503fe0bb922f2603701d44e28df29
Showing with 27 additions and 27 deletions.
  1. +27 −27 scripts/resetExperimentalSetup
@@ -12,30 +12,30 @@ mkdir -p "$data_dir/tpq"
mkdir -p "$fig_dir"
mkdir -p "$fig_data_dir"
# Delete Object Sets/Indexes and Query Point Sets
if [ -z "$obj_idx_dir" ]; then
echo '$obj_idx_dir is not set'
else
rm -rf "$obj_idx_dir"/*
fi
if [ -z "$sets_dir" ]; then
echo '$sets_dir is not set'
else
rm -rf "$sets_dir"/*
fi
# Optionally Delete Figures and Figure Data
if [[ $1 == "fig+data" ]]; then
if [ -z "$fig_dir" ]; then
echo '$fig_dir is not set'
else
rm -rf "$fig_dir"/*
mkdir -p "$fig_dir"
fi
if [ -z "$fig_data_dir" ]; then
echo '$fig_data_dir is not set'
else
rm -rf "$fig_data_dir"/*
mkdir -p "$fig_data_dir"
fi
fi
# # Delete Object Sets/Indexes and Query Point Sets
# if [ -z "$obj_idx_dir" ]; then
# echo '$obj_idx_dir is not set'
# else
# rm -rf "$obj_idx_dir"/*
# fi
# if [ -z "$sets_dir" ]; then
# echo '$sets_dir is not set'
# else
# rm -rf "$sets_dir"/*
# fi
#
# # Optionally Delete Figures and Figure Data
# if [[ $1 == "fig+data" ]]; then
# if [ -z "$fig_dir" ]; then
# echo '$fig_dir is not set'
# else
# rm -rf "$fig_dir"/*
# mkdir -p "$fig_dir"
# fi
# if [ -z "$fig_data_dir" ]; then
# echo '$fig_data_dir is not set'
# else
# rm -rf "$fig_data_dir"/*
# mkdir -p "$fig_data_dir"
# fi
# fi

0 comments on commit 01cc3b6

Please sign in to comment.