test_DuplicateInput

class test_DuplicateInput.Duplicate_Input_Test(methodName='runTest')
setUp()

Hook method for setting up the test fixture before exercising it.

test_function_duplicate_column()
Check if the software is able to find duplicate columns (transition name) after reading a raw

data file.

  • Construct the output data frame after reading the raw data

  • Able to detect that the duplicated columns are LPC 18:0 and MHC d18:1/16:0d3 (IS)

test_function_duplicate_row()
Check if the software is able to find duplicate rows (sample name) after reading a raw

data file.

  • Construct the output data frame after reading the raw data

  • Able to detect that the duplicated rows are 10_TQC_06 and 47_PQC_16

test_function_duplicate_column_multipleISTD()
Check if the software is able to find duplicate columns (transition name) after reading a raw

data file in multiple ISTD mode.

  • Construct the output data frame after reading the raw data in multiple ISTD mode

  • Able to detect that the duplicated columns are (‘LPC 18:0’, ‘LPC 20:0 (IS)’) and (‘LPC 20:0 (IS)’, ‘LPC 17:0 (IS)’)

test_function_duplicate_row_multipleISTD()
Check if the software is able to find duplicate rows (sample name) after reading a raw

data file in multiple ISTD mode.

  • Construct the output data frame after reading the raw data in multiple ISTD mode

  • Able to detect that the duplicated rows are 10_TQC_06 and 47_PQC_16

test_workflow_no_concatenate_duplicate_column()
Check if the software is able to find duplicate columns (transition name) after reading

one raw data files.

  • Extract the Area

  • Find duplicate columns

test_workflow_no_concatenate_duplicate_row()
Check if the software is able to find duplicate rows (sample name) after reading

one raw data files.

  • Extract the Area

  • Find duplicate rows

test_workflow_column_concatenate_duplicate_column()
Check if the software is able to find duplicate columns (transition name) after reading

two raw data files and concatenating by columns.

Duplicate columns only occur after concatenation as it file actually have unique columns individually

  • Extract the Area

  • Concatenate the Area by column

  • Find duplicate columns

test_workflow_row_concatenate_duplicate_row()
Check if the software is able to find duplicate rows (sample names) after reading

two raw data files and concatenating by rows.

Duplicate rows only occur after concatenation as it file actually have unique columns individually

  • Extract the Area

  • Concatenate the Area by row

  • Find duplicate rows

tearDown()

Hook method for deconstructing the test fixture after testing it.