<commit_before>#!/usr/bin/python
'''
Code Written by <NAME> and <NAME> (2016)
Takes a DXF file and converts it into segments (which can be arcs or lines) and
vertexes that can then be converted into a CrysMAS or Cats2D mesh. 

Requirements:
- Python 2.7x
- dxfgrabber 0.7.5
- matplotlib (if plotting)
- DXFtoSegments.py
- HelperFunctions.py

Requirements for Testing:
- DXFTestSuite.py
- CreateStandards.py
- DXFTests directory of DXF test files

Usage:
This script takes input from the command line and the usage for which can be
found by running this script with the '-h' flag afterwards specificaly,
'./DXFtoSegments.py -h'. 
'''

import DXFTestSuite
from DXFtoSegments import DXFGeometry
import CreateStandards
import unittest
import argparse
from matplotlib import pyplot as plt
import os
import sys
import tarfile

def test_suite(verbose=False, dxf_test=True):
    '''Runs the test suite'''
    if verbose:
        verbosity = 2
    else:<commit_msg>Small change to requirements<commit_after>#!/usr/bin/python
'''
Code Written by <NAME> and <NAME> (2016)
Takes a DXF file and converts it into segments (which can be arcs or lines) and
vertexes that can then be converted into a CrysMAS or Cats2D mesh. 

Requirements:
- Python 2.7x
- dxfgrabber 0.7.5
- SciPy Stack
- DXFtoSegments.py
- HelperFunctions.py

Requirements for Testing:
- DXFTestSuite.py
- CreateStandards.py
- DXFTests directory of DXF test files

Usage:
This script takes input from the command line and the usage for which can be
found by running this script with the '-h' flag afterwards specificaly,
'./DXFtoSegments.py -h'. 
'''

import DXFTestSuite
from DXFtoSegments import DXFGeometry
import CreateStandards
import unittest
import argparse
from matplotlib import pyplot as plt
import os
import sys
import tarfile

def test_suite(verbose=False, dxf_test=True):
    '''Runs the test suite'''
    if verbose:
        verbosity = 2
    else:
{'fraction_non_alphanumeric': 0.07105538140020899, 'fraction_numerical': 0.011494252873563218, 'mean_word_length': 4.1617250673854445, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2526817', 'n_tokens_mistral': 649, 'n_tokens_neox': 605, 'n_words': 245}