Skip to content

Commit

Permalink
fixed extremes
Browse files Browse the repository at this point in the history
  • Loading branch information
caleblareau committed May 21, 2018
1 parent e29f2e6 commit b6d9b97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Pypkg/mgatk/mgatk/bin/python/sumstatsBP.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
# Export Functions
def writeSparseMatrix(mid, vec):
with open(outpre + "."+mid+".txt","w") as V:
for i in range(1,int(maxBP)-1):
for i in range(0,int(maxBP)):
if(vec[i] > 0):
V.write(str(i+1)+","+sample+","+str(vec[i])+"\n")


def writeSparseMatrix2(mid, vec1, vec2):
with open(outpre + "."+mid+".txt","w") as V:
for i in range(1,int(maxBP)-1):
for i in range(0,int(maxBP)):
if(vec1[i] > 0):
V.write(str(i+1)+","+sample+","+str(vec1[i])+","+str(vec2[i])+"\n")

Expand Down
2 changes: 1 addition & 1 deletion Pypkg/mgatk/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='mgatk',
version='0.3.5',
version='0.3.6',
url='https://github.com/aryeelab/mgatk',
license='MIT',
author='Caleb Lareau',
Expand Down

0 comments on commit b6d9b97

Please sign in to comment.