File: 2to3.patch

package info (click to toggle)
assemblytics 1.2.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 208 kB
  • sloc: python: 577; perl: 234; sh: 110; makefile: 13
file content (69 lines) | stat: -rw-r--r-- 1,628 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Description: Use 2to3 to port to Python3
Bug-Debian: https://bugs.debian.org/936156
Author: Andreas Tille <tille@debian.org>
Last-Update: Sun, 01 Sep 2019 10:47:09 +0200

--- a/scripts/Assemblytics_index.py
+++ b/scripts/Assemblytics_index.py
@@ -1,10 +1,8 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 # Author: Maria Nattestad
 # github.com/marianattestad/assemblytics
 
-from __future__ import print_function
-
 import argparse
 import numpy as np
 import re
@@ -186,4 +184,4 @@ def main():
     args.func(args)
 
 if __name__=="__main__":
-    main()
\ No newline at end of file
+    main()
--- a/scripts/Assemblytics_summary.py
+++ b/scripts/Assemblytics_summary.py
@@ -1,11 +1,9 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 # Author: Maria Nattestad
 # Email: mnattest@cshl.edu
 # This script is part of Assemblytics, a program to detect and analyze structural variants from an assembly aligned to a reference genome using MUMmer. 
 
-from __future__ import print_function
-
 import argparse
 import numpy as np
 
--- a/scripts/Assemblytics_uniq_anchor.py
+++ b/scripts/Assemblytics_uniq_anchor.py
@@ -1,10 +1,8 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 # Author: Maria Nattestad
 # github.com/marianattestad/assemblytics
 
-from __future__ import print_function
-
 import argparse
 import gzip
 import time
--- a/scripts/Assemblytics_within_alignment.py
+++ b/scripts/Assemblytics_within_alignment.py
@@ -1,10 +1,8 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 # Author: Maria Nattestad
 # github.com/marianattestad/assemblytics
 
-from __future__ import print_function
-
 import argparse
 import gzip