<commit_before>#!/bin/bash


VER=2019.0


export RTM_GWAS_VERSION=$VER

BIN=rtm-gwas-$VER-macos

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-macos.sh
./install-macos.sh || exit 1

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

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

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


APP=rtm-gwas-gui.app


cd $TOP
rm -rf $BIN
mkdir $BIN

mv $TOP/rtm-gwas-gui/macos/$APP $BIN/
mv $TOP/rtm-gwas-snpldb/macos/rtm-gwas-snpldb $BIN/$APP/Contents/MacOS/
mv $TOP/rtm-gwas-gsc/macos/rtm-gwas-gsc $BIN/$APP/Contents/MacOS/<commit_msg>Fixed typo<commit_after>#!/bin/bash


VER=2019.0


export RTM_GWAS_VERSION=$VER

BIN=rtm-gwas-$VER-macos

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-macos.sh
./install-macos.sh || exit 1

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

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

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


APP=rtm-gwas-gui.app


cd $TOP
rm -rf $BIN
mkdir $BIN

mv $TOP/rtm-gwas-gui/macos/$APP $BIN/
mv $TOP/rtm-gwas-snpldb/macos/rtm-gwas-snpldb $BIN/$APP/Contents/MacOS/
mv $TOP/rtm-gwas-gsc/macos/rtm-gwas-gsc $BIN/$APP/Contents/MacOS/
{'fraction_non_alphanumeric': 0.17300862506341957, 'fraction_numerical': 0.0091324200913242, 'mean_word_length': 3.334065934065934, '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': '572060', 'n_tokens_mistral': 1004, 'n_tokens_neox': 961, 'n_words': 158}