def test_can_parse_sample_geometries(self):
     batch_file_row = [
         "sample_sans", "1", "sample_trans", "", "sample_direct_beam", "",
         "can_sans", "", "can_trans", "", "can_direct_beam", "",
         "output_as", "", "user_file", "", "sample_thickness", "5",
         "sample_height", "5", "sample_width", "5"
     ]
     parser = BatchCsvParser()
     parser._parse_csv_row(batch_file_row, 0)
 def test_can_parse_file_with_empty_final_column(self):
     """There was a bug where certain batch files with an empty final column (no user file provided)
     would not be treated as a column and therefore the batch file would be read as having only 15
     rows.
     We now add an empty final row in the parser if there are 15 rows and the last row provided is
     a batch file key"""
     batch_file_row = [
         "sample_sans", "1", "sample_trans", "", "sample_direct_beam", "",
         "can_sans", "", "can_trans", "", "can_direct_beam", "",
         "output_as", "", "user_file"
     ]
     parser = BatchCsvParser()
     parser._parse_csv_row(batch_file_row, 0)