<commit_before>#!/bin/bash

. ./env/conda/bin/activate
source utils/environment.python.sh

if [ -z "${VIVADO_SETTINGS}" ]; then
    echo "WARNING: using default vivado settings"
    VIVADO_SETTINGS=/opt/Xilinx/Vivado/2017.2/settings64.sh
fi

source ${VIVADO_SETTINGS}

if [ -z "${SYMBIFLOW}" ]; then
    echo "ERROR: SYMBIFLOW install dir not set."
    return 1
fi

export PATH=${SYMBIFLOW}/bin:${PATH}
export XRAY_DATABASE_DIR=$(pwd)/third_party/prjxray-db
export XRAY_FASM2FRAMES=$(pwd)/third_party/prjxray/utils/fasm2frames.py<commit_msg>env: disable error on symbiflow env variable<commit_after>#!/bin/bash

. ./env/conda/bin/activate
source utils/environment.python.sh

if [ -z "${VIVADO_SETTINGS}" ]; then
    echo "WARNING: using default vivado settings"
    VIVADO_SETTINGS=/opt/Xilinx/Vivado/2017.2/settings64.sh
fi

source ${VIVADO_SETTINGS}

# TODO: enable this when integrating symbiflow package
#if [ -z "${SYMBIFLOW}" ]; then
#    echo "ERROR: SYMBIFLOW install dir not set."
#    return 1
#fi

export PATH=${SYMBIFLOW}/bin:${PATH}
export XRAY_DATABASE_DIR=$(pwd)/third_party/prjxray-db
export XRAY_FASM2FRAMES=$(pwd)/third_party/prjxray/utils/fasm2frames.py
{'fraction_non_alphanumeric': 0.13737201365187712, 'fraction_numerical': 0.017064846416382253, 'mean_word_length': 4.835820895522388, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6006441', 'n_tokens_mistral': 469, 'n_tokens_neox': 453, 'n_words': 88}