<commit_before>#!/bin/bash
num_lines=$(/opt/installers/epiphan/sdk/3.30.3.0007/epiphan/samples/v2u/build/release/v2u | grep --count "no signal detected")
if [ $num_lines -gt 0 ]; then
  echo "No alive device seems to be connected to Epiphan"
  echo "Please connect both ports of Storz, and retry build"
  exit 1
else
  cd "$GiftGrab_BUILD_DIR"
  cp "$GiftGrab_SOURCE_DIR/python/modules/epiphan.py" ./
  cp "$GiftGrab_SOURCE_DIR/tests/epiphan/dvi2pcieduo.py" ./
  cp "$GiftGrab_SOURCE_DIR/tests/epiphan/conftest.py" ./
  cp --recursive "$GiftGrab_SOURCE_DIR/tests/epiphan/config" ./
  cp "$GiftGrab_SOURCE_DIR/python/modules/example_epiphan/"* ./config

  py.test --colour-space="BGR24" dvi2pcieduo.py
fi

<commit_msg>Issue #48: colour-space => colourspace in BGR24 test call as well<commit_after>#!/bin/bash
num_lines=$(/opt/installers/epiphan/sdk/3.30.3.0007/epiphan/samples/v2u/build/release/v2u | grep --count "no signal detected")
if [ $num_lines -gt 0 ]; then
  echo "No alive device seems to be connected to Epiphan"
  echo "Please connect both ports of Storz, and retry build"
  exit 1
else
  cd "$GiftGrab_BUILD_DIR"
  cp "$GiftGrab_SOURCE_DIR/python/modules/epiphan.py" ./
  cp "$GiftGrab_SOURCE_DIR/tests/epiphan/dvi2pcieduo.py" ./
  cp "$GiftGrab_SOURCE_DIR/tests/epiphan/conftest.py" ./
  cp --recursive "$GiftGrab_SOURCE_DIR/tests/epiphan/config" ./
  cp "$GiftGrab_SOURCE_DIR/python/modules/example_epiphan/"* ./config

  py.test --colourspace="BGR24" dvi2pcieduo.py
fi


{'fraction_non_alphanumeric': 0.13468013468013468, 'fraction_numerical': 0.024242424242424242, 'mean_word_length': 4.2140350877192985, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '872087', 'n_tokens_mistral': 614, 'n_tokens_neox': 583, 'n_words': 115}