Skip to content

Commit be759c1

Browse files
authored
QC_Analysis_TellReadJob.html (#139)
* QC_Analysis_TellReadJob.html * pip freeze | grep test * pip --version * pip freeze * python --version * 3.9.21 * changing tests * clean up * make sure the output_dir is empty * add prints * some more prints * print metadata * more prints * more prints * add sorted * key int * clean up
1 parent 2b7832e commit be759c1

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/qp_klp/Assays.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,8 +601,8 @@ def update_prep_templates(self):
601601
:return: A dict of lists of prep-ids, keyed by study-id.
602602
"""
603603
results = defaultdict(list)
604-
605-
for study_id in self.prep_file_paths:
604+
# sorting to assure order
605+
for study_id in sorted(self.prep_file_paths, key=lambda x: int(x)):
606606
for prep_fp in self.prep_file_paths[study_id]:
607607
afact_name, is_repl = self._generate_artifact_name(prep_fp)
608608

src/qp_klp/Workflows.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,8 @@ def _helper_process_operations(self):
285285

286286
(['failed_samples.html',
287287
'touched_studies.html',
288-
'MultiQCJob/multiqc'],
288+
'MultiQCJob/multiqc',
289+
'TellReadJob/QC_Analysis_TellReadJob.html'],
289290
'mv', RESULTS_DIR, 'INPUTS_FIRST'),
290291

291292
(['FastQCJob/multiqc'], 'mv', RESULTS_DIR, 'INPUTS_FIRST')]

0 commit comments

Comments
 (0)