<commit_before>#!/bin/bash


VER=2019.1


export RTM_GWAS_VERSION=$VER

PKG=rtm-gwas-$VER-$1

TOP=$(pwd)


rm -rf rtm-gwas-snpldb
git clone https://github.com/njau-sri/rtm-gwas-snpldb.git

rm -rf rtm-gwas-gsc
git clone https://github.com/njau-sri/rtm-gwas-gsc.git

rm -rf rtm-gwas-assoc
git clone https://github.com/njau-sri/rtm-gwas-assoc.git

rm -rf rtm-gwas-gui
git clone https://github.com/njau-sri/rtm-gwas-gui.git


cd $TOP/rtm-gwas-snpldb
chmod +x install-cross.sh
./install-cross.sh $1 || exit 1

cd $TOP/rtm-gwas-gsc
chmod +x install-cross.sh
./install-cross.sh $1 || exit 1

cd $TOP/rtm-gwas-assoc
if [[ "$1" == "glnx64" ]]; then
    chmod +x install-glnx64-mkl.sh
    ./install-glnx64-mkl.sh $1 || exit 1
else
    chmod +x install.sh
    ./install.sh $1 || exit 1
fi

cd $TOP/rtm-gwas-gui
if [[ "$1" == "glnx64" ]]; then
    chmod +x install-cross-qt5.sh
    ./install-cross-qt5.sh $1 || exit 1
else
    chmod +x install-cross.sh
    ./install-cross.sh $1 || exit 1
fi

cd $TOP
rm -rf $PKG
mkdir $PKG

mv $TOP/rtm-gwas-snpldb/$1/rtm-gwas-snpldb* $PKG/
mv $TOP/rtm-gwas-gsc/$1/rtm-gwas-gsc* $PKG/
mv $TOP/rtm-gwas-assoc/$1/rtm-gwas-assoc* $PKG/
mv $TOP/rtm-gwas-gui/$1/rtm-gwas-gui* $PKG/

if [[ "$1" == "glnx64" ]]; then
    tar zcf $PKG.tar.gz $PKG
else
    zip -qr $PKG.zip $PKG
fi
<commit_msg>Update install-cross.sh<commit_after>#!/bin/bash


VER=2019.1


export RTM_GWAS_VERSION=$VER

PKG=rtm-gwas-$VER-$1

TOP=$(pwd)


rm -rf rtm-gwas-snpldb
git clone https://github.com/njau-sri/rtm-gwas-snpldb.git

rm -rf rtm-gwas-gsc
git clone https://github.com/njau-sri/rtm-gwas-gsc.git

rm -rf rtm-gwas-assoc
git clone https://github.com/njau-sri/rtm-gwas-assoc.git

rm -rf rtm-gwas-gui
git clone https://github.com/njau-sri/rtm-gwas-gui.git


cd $TOP/rtm-gwas-snpldb
chmod +x install-cross.sh
./install-cross.sh $1 || exit 1

cd $TOP/rtm-gwas-gsc
chmod +x install-cross.sh
./install-cross.sh $1 || exit 1

cd $TOP/rtm-gwas-assoc
if [[ "$1" == "glnx64" ]]; then
    chmod +x install-glnx64-mkl.sh
    ./install-glnx64-mkl.sh $1 || exit 1
else
    chmod +x install.sh
    ./install.sh $1 || exit 1
fi

cd $TOP/rtm-gwas-gui
chmod +x install.sh
./install.sh $1 || exit 1


cd $TOP
rm -rf $PKG
mkdir $PKG

mv $TOP/rtm-gwas-snpldb/$1/rtm-gwas-snpldb* $PKG/
mv $TOP/rtm-gwas-gsc/$1/rtm-gwas-gsc* $PKG/
mv $TOP/rtm-gwas-assoc/$1/rtm-gwas-assoc* $PKG/
mv $TOP/rtm-gwas-gui/$1/rtm-gwas-gui* $PKG/

if [[ $1 == win* ]]; then
    zip -qr $PKG.zip $PKG
else
    tar zcf $PKG.tar.gz $PKG
fi

{'fraction_non_alphanumeric': 0.1879275653923541, 'fraction_numerical': 0.026156941649899398, 'mean_word_length': 2.872274143302181, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '458835', 'n_tokens_mistral': 1277, 'n_tokens_neox': 1224, 'n_words': 238}