File: syntax_warning.patch

package info (click to toggle)
pairtools 1.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,284 kB
  • sloc: python: 8,792; sh: 123; makefile: 68; ansic: 31
file content (22 lines) | stat: -rw-r--r-- 700 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/pairtools/cli/select.py
+++ b/pairtools/cli/select.py
@@ -87,7 +87,7 @@
     remove_columns,
     **kwargs,
 ):
-    """Select pairs according to some condition.
+    r"""Select pairs according to some condition.
 
     CONDITION : A Python expression; if it returns True, select the read pair.
     Any column declared in the #columns line of the pairs header can be
--- a/pairtools/lib/stats.py
+++ b/pairtools/lib/stats.py
@@ -1154,7 +1154,7 @@
 
 
 def extract_tile_info(series, regex=False):
-    """Extract the name of the tile for each read name in the series
+    r"""Extract the name of the tile for each read name in the series
     Parameters
     ----------
     series : pd.Series