Skip to content

Commit bf6e531

Browse files
authored
Merge pull request #333 from BD2KGenomics/hotfix/1.2
Fix KeyError when samples are untarred (resolves #334)
2 parents 13d3657 + aa364e7 commit bf6e531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/toil_scripts/rnaseq_cgl/rnaseq_cgl_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ def static_dag_launchpoint(job, job_vars):
468468
job_vars: tuple Tuple of dictionaries: input_args and ids
469469
"""
470470
input_args, ids = job_vars
471+
ids['R.fastq'] = None
471472
if 'sample.tar' in ids:
472473
a = job.wrapJobFn(process_sample_tar, job_vars, disk='70G').encapsulate()
473474
else:
@@ -488,7 +489,6 @@ def process_sample_tar(job, job_vars):
488489
# Unpack variables
489490
input_args, ids = job_vars
490491
work_dir = job.fileStore.getLocalTempDir()
491-
ids['R.fastq'] = None
492492
# I/O
493493
read_from_filestore(job, work_dir, ids, 'sample.tar')
494494
sample_tar = os.path.join(work_dir, 'sample.tar')

0 commit comments

Comments
 (0)