<commit_before>#!/usr/bin/env python

## Default parameters
class param:
    ## The constructor
    def __init__(self):
        self.debug = 0
        self.deg_poly = 10 # maximum degree of polynomial function for fitting centerline.
        self.remove_temp_files = 1 # remove temporary files

# check if needed Python libraries are already installed or not
import os
import getopt
import commands
import sys
import sct_utils as sct
from nurbs import NURBS
from sct_utils import fsloutput
try:
    import nibabel
except ImportError:
    print '--- nibabel not installed! Exit program. ---'
    sys.exit(2)
try:
    import numpy
except ImportError:
    print '--- numpy not installed! Exit program. ---'
    sys.exit(2)

# check if dependant software are installed<commit_msg>BUG: wrong name for import<commit_after>#!/usr/bin/env python

## Default parameters
class param:
    ## The constructor
    def __init__(self):
        self.debug = 0
        self.deg_poly = 10 # maximum degree of polynomial function for fitting centerline.
        self.remove_temp_files = 1 # remove temporary files

# check if needed Python libraries are already installed or not
import os
import getopt
import commands
import sys
import sct_utils as sct
from sct_nurbs import NURBS
from sct_utils import fsloutput
try:
    import nibabel
except ImportError:
    print '--- nibabel not installed! Exit program. ---'
    sys.exit(2)
try:
    import numpy
except ImportError:
    print '--- numpy not installed! Exit program. ---'
    sys.exit(2)

# check if dependant software are installed
{'fraction_non_alphanumeric': 0.07329509241555131, 'fraction_numerical': 0.0076481835564053535, 'mean_word_length': 3.2779291553133514, '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': '3199202', 'n_tokens_mistral': 454, 'n_tokens_neox': 434, 'n_words': 177}