Skip to content

Commit

Permalink
fix: validate peaks wrong param supplied
Browse files Browse the repository at this point in the history
  • Loading branch information
alsmith151 committed Feb 5, 2024
1 parent 021c915 commit edd67f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions seqnado/workflow/rules/hub.smk
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ rule save_design:

rule validate_peaks:
input:
get_peak_files,
peaks=get_peak_files,
output:
sentinel="seqnado_output/peaks/.validated",
container:
Expand All @@ -143,7 +143,7 @@ rule validate_peaks:
with open(peak_file, "r+") as p:
peak_entries = p.readlines()
if len(peak_entries) < 1:
p.write("chr1\t1\t2\n")
p.write("chr21\t1\t2\n")

with open(output.sentinel, "w") as s:
s.write("validated")
Expand Down

0 comments on commit edd67f0

Please sign in to comment.