diff --git a/unicycler/bridge_common.py b/unicycler/bridge_common.py index d28445b..80a38c0 100644 --- a/unicycler/bridge_common.py +++ b/unicycler/bridge_common.py @@ -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 diff --git a/unicycler/bridge_long_read.py b/unicycler/bridge_long_read.py index fa8953d..1b3a726 100644 --- a/unicycler/bridge_long_read.py +++ b/unicycler/bridge_long_read.py @@ -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. diff --git a/unicycler/log.py b/unicycler/log.py index a16a549..252682d 100644 --- a/unicycler/log.py +++ b/unicycler/log.py @@ -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)