<commit_before>#!/bin/bash
set -e
set -u

if [ "$(basename $(pwd))" != "doc" ]
  then
    echo "Execute this script within the doc folder!"
    exit 1
fi
PWD=$(pwd)

function cleanup {
  cd $PWD
  rm -rf signac-examples
}
trap cleanup EXIT

git clone --reference ~/local/gitcaches/signac-examples.reference <EMAIL>:glotzer/signac-examples.git
cd signac-examples/
PYTHONPATH=.. scons signac
cd ../
find signac-examples/notebooks/static -regex '.*/signac\_[a-z0-9_]*\.ipynb' -exec cp {} ./ \;<commit_msg>Use signac-examples github repository instead of bitbucket.<commit_after>#!/bin/bash
set -e
set -u

if [ "$(basename $(pwd))" != "doc" ]
  then
    echo "Execute this script within the doc folder!"
    exit 1
fi
PWD=$(pwd)
export PYTHONPATH=$PWD/..

function cleanup {
  cd $PWD
  #rm -rf signac-examples
}
trap cleanup EXIT

git clone git@github.com:csadorf/signac-examples.git
cd signac-examples/
scons signac
cd ../
find signac-examples/notebooks/static -regex '.*/signac\_[a-z0-9_]*\.ipynb' -exec cp {} ./ \;
{'fraction_non_alphanumeric': 0.15680473372781065, 'fraction_numerical': 0.005917159763313609, 'mean_word_length': 3.4713656387665197, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '4854983', 'n_tokens_mistral': 403, 'n_tokens_neox': 379, 'n_words': 103}