Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMoelder committed Nov 29, 2023
1 parent 91a2717 commit f1e18af
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 @@ -944,7 +944,7 @@ def get_shortest_primer_length(primers):
# set to 32 to match bwa-mem default value considering offset of 2
min_length = 32
for primer_file in primers:
with open(primer_file, 'r') as p:
with open(primer_file, "r") as p:
min_primer = min(
[len(p.strip()) for i, p in enumerate(p.readlines()) if i % 2 == 1]
)
Expand Down Expand Up @@ -1068,4 +1068,4 @@ def get_delly_excluded_regions():
species_build=delly_excluded_regions[(species, build)]
)
else:
return []
return []

0 comments on commit f1e18af

Please sign in to comment.