<commit_before>#!/usr/bin/env bash

if [ "$TRAVIS_OS_NAME" == "linux" ]; then
  echo "OK"
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
  brew install gcc
  brew link --overwrite gcc
  if [ "$PYTHON" == "/usr/local/bin/python3" ]; then
    brew install python3
    brew link --overwrite python
  elif [ "$PYTHON" == "/usr/local/bin/python" ]; then
    brew install python
    brew link --overwrite python
  fi
  sudo pip install virtualenv
  virtualenv -p $PYTHON venv
  source venv/bin/activate
fi
pip install numpy==1.16.0
pip install ase==3.17.0
pip install scipy==1.2.3
pip install ovito==3.3.0
pip install atomman==1.3.1
#if [ "$TRAVIS_OS_NAME" == "linux" ]; then
#  pip install atomistica
#fi<commit_msg>install atomman from Petr fork<commit_after>#!/usr/bin/env bash

if [ "$TRAVIS_OS_NAME" == "linux" ]; then
  echo "OK"
elif [ "$TRAVIS_OS_NAME" == "osx" ]; then
  brew install gcc
  brew link --overwrite gcc
  if [ "$PYTHON" == "/usr/local/bin/python3" ]; then
    brew install python3
    brew link --overwrite python
  elif [ "$PYTHON" == "/usr/local/bin/python" ]; then
    brew install python
    brew link --overwrite python
  fi
  sudo pip install virtualenv
  virtualenv -p $PYTHON venv
  source venv/bin/activate
fi
pip install numpy==1.16.0
pip install ase==3.17.0
pip install scipy==1.2.3
pip install ovito==3.3.0
pip install git+https://github.com/pgrigorev/atomman
#if [ "$TRAVIS_OS_NAME" == "linux" ]; then
#  pip install atomistica
#fi
{'fraction_non_alphanumeric': 0.140893470790378, 'fraction_numerical': 0.024054982817869417, 'mean_word_length': 3.5217391304347827, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '211821', 'n_tokens_mistral': 561, 'n_tokens_neox': 536, 'n_words': 155}