File: executable-not-elf-or-script.patch

package info (click to toggle)
pizzly 0.37.3%2Bds-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 476 kB
  • sloc: cpp: 1,458; python: 66; sh: 29; makefile: 13
file content (33 lines) | stat: -rw-r--r-- 1,091 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
Author: Steffen Möller
Last-Update: 2019-06-04 16:35:10 +0200
Description: Finalise Python3 support

Index: pizzly/scripts/flatten_json.py
===================================================================
--- pizzly.orig/scripts/flatten_json.py
+++ pizzly/scripts/flatten_json.py
@@ -1,3 +1,5 @@
+#!/usr/bin/python3
+
 import sys
 import json
 from collections import OrderedDict
@@ -26,7 +28,7 @@ def outputGeneTable(fusions, outf, filte
         outf.write('\n')
 
 def usage():
-    print("Usage: python flatten_json.py fusion.out.json [genetable.txt]")
+    print("Usage: python3 flatten_json.py fusion.out.json [genetable.txt]")
     print("")
     print("       outputs a flat table listing all gene fusions, if the output file is not")
     print("       specified it prints to standard output")
Index: pizzly/scripts/get_fragment_length.py
===================================================================
--- pizzly.orig/scripts/get_fragment_length.py
+++ pizzly/scripts/get_fragment_length.py
@@ -1,3 +1,5 @@
+#!/usr/bin/python3
+
 import h5py
 import numpy as np
 import sys