Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leftover Python SyntaxWarnings #346

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion unicycler/bridge_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def get_bridge_str(bridge):


def get_depth_agreement_factor(start_seg_depth, end_seg_depth):
"""
r"""
This function is set up such that:
* equal depths return 1.0
* similar depths return a value near 1.0
Expand Down
2 changes: 1 addition & 1 deletion unicycler/bridge_long_read.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ def finalise_bridge(all_args):


def reduce_expected_count(expected_count, a, b):
"""
r"""
This function reduces the expected read count. It reduces by a factor which is a function of
the read count, so low expected values aren't reduced much, but high expected values are
reduced more. This is to help with high read depth cases where expected counts get quite high.
Expand Down
2 changes: 1 addition & 1 deletion unicycler/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,4 @@ def remove_formatting(text):


def remove_dim_formatting(text):
return re.sub('\033\[2m', '', text)
return re.sub('\033\\[2m', '', text)