Skip to content

Commit

Permalink
style: Update common.smk
Browse files Browse the repository at this point in the history
  • Loading branch information
padraicc authored Feb 28, 2024
1 parent 825b71c commit e7de30f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,10 @@ def compile_output_list(wildcards):
for output in output_json:
if output == "results/{sample}/{sample}.upd_regions.bed":
for sample in samples[samples.trio_member == "proband"].index:
proband_trio_id = samples[samples.index == sample].trioid.iloc[0]
proband_trio_id = samples[samples.index == sample].trioid.iloc[0]
trio_num = samples[samples.trioid == proband_trio_id].shape[0]
if trio_num != 3:
continue
continue
else:
output_files.append(output.format(sample=sample))
else:
Expand Down

0 comments on commit e7de30f

Please sign in to comment.