def test_make_html_file(self):
        """The HTML file is created in the right position"""
        self._paths_to_clean_up = [self.output_file]

        make_html_file(self.d_data, self.name, self.output_file)
        self.assertTrue(path.exists(self.output_file),
            'The html file was not created in the appropiate location')
script_info['script_usage'] = [
    ("Example",
     "Generate a html file named 'index.html' with a table showing " +
     "the beta significance test results represented in 'beta_output.txt'",
     "%prog -i beta_output.txt -o index.html")
]
script_info['output_description'] = ""
script_info['required_options'] = [
    make_option('-i',
                '--input_fp',
                type="existing_filepath",
                help='Beta significance output filepath'),
    make_option('-o',
                '--output_html_fp',
                type="new_filepath",
                help='Html filepath')
]
script_info['optional_options'] = []
script_info['version'] = __version__

if __name__ == '__main__':
    option_parser, opts, args = parse_command_line_parameters(**script_info)
    bs_fp = opts.input_fp
    html_fp = opts.output_html_fp

    bs_lines = open(bs_fp, 'U')

    dict_data, test_name = parse_beta_significance_output_each_sample(bs_lines)

    make_html_file(dict_data, test_name, html_fp)
    def test_make_html_file(self):
        """The HTML file is created in the right position"""
        self._paths_to_clean_up = [self.output_file]

        make_html_file(self.d_data, self.name, self.output_file)
        self.assertTrue(path.exists(self.output_file), "The html file was not created in the appropiate location")
script_info['brief_description'] = """Generates a html file with a table\
 showing the beta significance output test (each sample individually)."""
script_info['script_description'] = """Takes a beta significance each sample\
 individually test output file (file output of beta_significance.py) and\
 generates a html file containing a table showing the results."""
script_info['script_usage'] = [
    ("Example", "Generate a html file named 'index.html' with a table showing "+
        "the beta significance test results represented in 'beta_output.txt'",
        "%prog -i beta_output.txt -o index.html")
]
script_info['output_description'] = ""
script_info['required_options'] = [
    make_option('-i', '--input_fp', type="existing_filepath",
                help='Beta significance output filepath'),
    make_option('-o', '--output_html_fp', type="new_filepath",
                help='Html filepath')
]
script_info['optional_options'] = []
script_info['version'] = __version__

if __name__ == '__main__':
    option_parser, opts, args = parse_command_line_parameters(**script_info)
    bs_fp = opts.input_fp
    html_fp = opts.output_html_fp

    bs_lines = open(bs_fp, 'U')

    dict_data, test_name = parse_beta_significance_output_each_sample(bs_lines)

    make_html_file(dict_data, test_name, html_fp)