Skip to content

Commit

Permalink
fix: debug random whitespaces around strings
Browse files Browse the repository at this point in the history
  • Loading branch information
ftabaro committed Mar 8, 2024
1 parent bc5873d commit 202f755
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions workflow/rules/common.smk
Original file line number Diff line number Diff line change
Expand Up @@ -318,15 +318,18 @@ def get_fastqc(wildcards):
print(supported_extensions)
print(supported_suffixes)
print(s)
for m in supported_suffixes:
for i in range(len(supported_suffixes)):
m = supported_suffixes[i]
m = [x.strip() for x in m]
print(f"mates: '{m}'")
for ext in supported_extensions:
for j in range(len(supported_extensions)):
ext = supported_extensions[j]
ext = ext.strip()
print(f"ext: '{ext}'")
m1 = []
m2 = []
for sample in s:
for z in range(len(s)):
sample = s[z]
sample = sample.strip()
print(f"sample: '{sample}'")
fn1 = f"{sample}{m[0]}.{ext}"
Expand Down

0 comments on commit 202f755

Please sign in to comment.