Commit 1d8b0071cbb3f857639a9ef403ed0a95ee06891b

Authored by Cristina Muntean
1 parent 26bef285

change to script output

scripts/aggregate-wc-with-edge.sh
... ... @@ -8,5 +8,6 @@ COMMAND="time python merge_wordcount_with_edge_features.py"
8 8 OPTION="blacklist"
9 9 OUTPUT_DIR=/data/muntean/edge-features-10-cities-november #all-vs-chicago-blacklist.tsv
10 10 FILENAME=$2
  11 +OUTPUT_NAME=`basename $FILENAME | cut -d'.' -f1` #takes the name f the city and aggregate type e.g. "seattle_3of3"
11 12  
12   -echo $COMMAND --o $OPTION --c $CITY --out $OUTPUT_DIR/all-without-$CITY-blacklist.tsv $FILENAME
  13 +echo $COMMAND --o $OPTION --c $CITY --out $OUTPUT_DIR/all-without-$OUTPUT_NAME-blacklist.tsv $FILENAME
... ...
scripts/gen-features.sh
... ... @@ -12,7 +12,7 @@ for LINE in `ls $INPUT_DIR/*201511*`
12 12 do
13 13 #echo $LINE
14 14 OUTPUT_NAME=`basename $LINE | cut -d'.' -f1`
15   - sem -j $CORES $COMMAND $LINE $OUTPUT_DIR/$OUTPUT_NAME.tsv 2>&1 > $OUTPUT_DIR/stats-${OUTPUT_NAME}-WCEF.txt
  15 + sem -j $CORES $COMMAND $LINE $OUTPUT_DIR/$OUTPUT_NAME.tsv 2>&1 > $OUTPUT_DIR/stats-${OUTPUT_NAME}-WCEF.txt
16 16 done
17 17 sem --wait
18 18 exit 0
... ...