#!/usr/bin/env bash

VIS_DIR="$(dirname "$0")"
if [ "$(wc -c < "$1")" -le 100000 ]
then
    python3 "$VIS_DIR/visualizer.py" testcase.svg < "$1"
fi
