| 1 |
Description: use raw strings for strings with escape sequences |
| 2 |
Author: Ananthu C V <[email protected]> |
| 3 |
Bug-Debian: https://bugs.debian.org/1085666 |
| 4 |
Last-Update: 2024-12-04 |
| 5 |
--- a/lefsebiom/AbundanceTable.py |
| 6 |
+++ b/lefsebiom/AbundanceTable.py |
| 7 |
@@ -386,3 +386,3 @@ |
| 8 |
#Used to substitute . to - |
| 9 |
|
| 10 |
+ reSubPeriod = re.compile(r'\.') |
| 11 |
|
| 12 |
--- a/lefse/lefse_format_input.py |
| 13 |
+++ b/lefse/lefse_format_input.py |
| 14 |
@@ -273,3 +273,3 @@ |
| 15 |
|
| 16 |
|
| 17 |
+ for v in [r"\|"]: |
| 18 |
ret = [re.sub(v,".",f) for f in ret] |
| 19 |
@@ -463,2 +463,2 @@ |
| 20 |
if __name__ == '__main__': |
| 21 |
|
| 22 |
|
| 23 |
+ format_input() |