Skip to content

Commit

Permalink
fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimens committed Mar 1, 2024
1 parent 7d0069a commit 7ca73e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/rules/impute.smk
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ rule bam_list:
"Creating list of alignment files"
run:
with open(output[0], "w") as fout:
_ = [fout.write(f"{bamfile}\n") for bamfile in input[0]]
_ = [fout.write(f"{bamfile}\n") for bamfile in input["bam"]]

rule samples_file:
output:
Expand Down

0 comments on commit 7ca73e7

Please sign in to comment.