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
|