changeset 53:7de3db823f90

fix
author jingchunzhu
date Thu, 17 Sep 2015 15:38:53 -0700
parents 3a036a34c362
children 59dbe857f5d4
files seg2matrix/segToMatrixGalaxy.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/seg2matrix/segToMatrixGalaxy.py	Thu Sep 17 15:00:45 2015 -0700
+++ b/seg2matrix/segToMatrixGalaxy.py	Thu Sep 17 15:38:53 2015 -0700
@@ -40,8 +40,9 @@
     seg.load(sys.argv[1])
     
     refgene = CGData.RefGene.RefGene()
-    refgene.load(os.path.dirname(sys.argv[0])+"/"+sys.argv[2])
-    
+    refgene.load(sys.argv[2])
+#    refgene.load(os.path.dirname(sys.argv[0])+"/"+sys.argv[2])
+
     handle = open(sys.argv[3], "w")
     m = matrix_write(handle)    
     CGData.SegToMatrix.seg_to_matrix(seg, m)