Skip to content

Commit

Permalink
lookup should be in multimer order for expandmultimer
Browse files Browse the repository at this point in the history
  • Loading branch information
sooyoung-cha committed Jan 5, 2025
1 parent fb2b4ac commit e173ef8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/makepaddeddb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if [ "${CLUSEARCH_PAR}" = 0 ]; then
fi

rm -f -- "${OUT}.lookup"
awk '{print $1"\t"$2"\t"int($3/2)}' "${OUT}_ss.lookup" > "${OUT}.lookup"
awk '{print $1"\t"$2"\t"int($3/2)}' "${OUT}_ss.lookup" | sort -nk3 > "${OUT}.lookup"
rm -f -- "${OUT}_ss.gpu_mapping1"

else
Expand Down Expand Up @@ -163,7 +163,7 @@ else
fi

rm -f -- "${OUT}.lookup"
awk '{print $1"\t"$2"\t"int($3/2)}' "${OUT}_ss.lookup" > "${OUT}.lookup"
awk '{print $1"\t"$2"\t"int($3/2)}' "${OUT}_ss.lookup" | sort -nk3 > "${OUT}.lookup"
rm -f -- "${OUT}_ss.gpu_mapping1"
rm -f -- "${OUT}_ss.gpu_mapping2"

Expand Down

0 comments on commit e173ef8

Please sign in to comment.