Skip to content

Commit a693498

Browse files
authored
add log to per_sample_FASTQ (#44)
* add log to per_sample_FASTQ * do not summarize log files
1 parent fbe4a3b commit a693498

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

qtp_sequencing/summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def _summary_not_demultiplexed(artifact_type, filepaths):
136136
errors = []
137137
df = None
138138
for fps_type, fps in sorted(filepaths.items()):
139-
if fps_type in {'html_summary'}:
139+
if fps_type in {'html_summary', 'log'}:
140140
continue
141141
# Step 2: generate HTML summary
142142
# md5, from http://stackoverflow.com/a/3431838

qtp_sequencing/validate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ def _validate_per_sample_FASTQ(qclient, job_id, prep_info, files, test=False):
253253
# Check if there is any filepath type that is not supported
254254
unsupported_fp_types = set(files) - {'raw_forward_seqs',
255255
'raw_reverse_seqs',
256-
'preprocessed_fastq'}
256+
'preprocessed_fastq',
257+
'log'}
257258
if unsupported_fp_types:
258259
error_msg = ("Filepath type(s) %s not supported by artifact "
259260
"type per_sample_FASTQ. Supported filepath types: "

0 commit comments

Comments
 (0)