Esempio n. 1
0
 def test_validate_nonempty_file_fails(self):
     """
     Test: Raise IOError if file found but empty
     """
     validate_nonempty_file(EMPTY_REL_PATH)
def args_runner(args):
    validate_nonempty_file(args.log_file)
    amplicon_analysis_timing(args.log_file, args.report_json)
    return 0
Esempio n. 3
0
 def test_validate_nonempty_file(self):
     """
     Test: Return abspath if file found and not empty
     """
     file_path = validate_nonempty_file(DATA_REL_PATH)
     self.assertEqual(file_path, DATA_ABS_PATH)
def args_runner(args):
    validate_nonempty_file(args.report_csv)
    amplicon_analysis_consensus(args.report_csv, args.report_json)
    return 0
Esempio n. 5
0
def args_runner(args):
    validate_nonempty_file(args.log_file)
    amplicon_analysis_timing(args.log_file, args.report_json)
    return 0
Esempio n. 6
0
def args_runner(args):
    validate_nonempty_file(args.report_csv)
    amplicon_analysis_consensus(args.report_csv, args.report_json)
    return 0
Esempio n. 7
0
 def test_validate_nonempty_file_fails(self):
     """
     Test: Raise IOError if file found but empty
     """
     validate_nonempty_file( EMPTY_REL_PATH )
Esempio n. 8
0
 def test_validate_nonempty_file(self):
     """
     Test: Return abspath if file found and not empty
     """
     file_path = validate_nonempty_file( DATA_REL_PATH )
     self.assertEqual( file_path, DATA_ABS_PATH )