Skip to content

Commit b1b50e9

Browse files
authored
Merge pull request #137 from BD2KGenomics/hotfix/fix-10-sample-bugs
Fix bugs seen in 10-sample TARGET run
2 parents 3283876 + 9e5da42 commit b1b50e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/protect/alignment/rna.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def align_rna(job, fastqs, univ_options, star_options):
3535
"""
3636
star = job.wrapJobFn(run_star, fastqs, univ_options, star_options,
3737
cores=star_options['n'],
38-
memory=PromisedRequirement(lambda x: 1.85 * x.size,
38+
memory=PromisedRequirement(lambda x: int(1.85 * x.size),
3939
star_options['tool_index']),
4040
disk=PromisedRequirement(star_disk, fastqs, star_options['tool_index']))
4141
index = job.wrapJobFn(index_star, star.rv(), univ_options,

0 commit comments

Comments
 (0)