Skip to content

Commit

Permalink
Update PEP8
Browse files Browse the repository at this point in the history
Concatenate_fastas.py
  • Loading branch information
Rendrick27 committed May 15, 2024
1 parent 7247221 commit 1c22a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/concatenate_fastas.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def preprocess_sequence(sequence):
trailing_pattern = re.compile(r'-+$')

# Replace leading '-' with 'n'
sequence = leading_pattern.sub(lambda x: 'n' * len(x.group()), sequence)
sequence = leading_pattern.sub(lambda x: 'n' * len(x.group()), sequence)
sequence = trailing_pattern.sub(lambda x: 'n' * len(x.group()), sequence)

return sequence
Expand Down

0 comments on commit 1c22a9e

Please sign in to comment.