Skip to content

Commit f5afd15

Browse files
test debugging
1 parent f941664 commit f5afd15

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/test_Pipeline.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ def _help_test_generate_sample_information_files_with_multiple_preps(
525525

526526
# the good sheet with replicates is decomposed into three
527527
# sample sheets, one for each replicate.
528-
sample_sheet_paths = [self.good_sheet_w_replicates.replace(
528+
sample_sheet_paths = [sample_sheet_path.replace(
529529
'.csv', f'_demux_{x}.csv') for x in range(1, 4)]
530530

531531
sif_paths = pipeline.generate_sample_info_files(sample_sheet_paths)
@@ -555,7 +555,11 @@ def _help_test_generate_sample_information_files_with_multiple_preps(
555555
# the full replicate sample sheet, has been removed.
556556
curr_sample_names = []
557557
for line_num in range(1, curr_expected_len + 1):
558-
obs = curr_obs_lines[line_num].strip().split('\t')[0]
558+
# TODO: remove print after debugging
559+
print(f"line_num: {line_num}")
560+
curr_line = curr_obs_lines[line_num]
561+
curr_line_pieces = curr_line.strip().split('\t')
562+
obs = curr_line_pieces[0]
559563
curr_sample_names.append(obs)
560564

561565
# don't care what order the blanks appear in

0 commit comments

Comments
 (0)