target_position=${params_pos[$target_i]};
outfilesuffix=$(outfile "${target_param[@]}")
topo_data_out="$plat_output/data_$topo-$outfilesuffix.tex"
- variable=$(awk '/'"$target_param"'/{print $'"$target_position"'}' "$infile")
+ variable=$(tail -17 "$infile" | awk '/'"$target_param"'/{print $'"$target_position"'}')
log "Reading $target_param from $infile : $variable"
mediantexline=$(echo -e "$mediantexline&$variable\t")
echo -e "$algo$bk\t$variable\n" >> "$topo_data_out"