Skip to content

Commit

Permalink
checked!
Browse files Browse the repository at this point in the history
  • Loading branch information
rbpisupati committed Nov 16, 2016
1 parent e9a9511 commit cce3d0e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified snpmatch/__init__.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion snpmatch/core/snpmatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def parseInput(args):
else:
die("file extension not valid!")
snpst = np.unique(snpCHR, return_counts=True)
snpdict = dict((snpst[0][i], snpst[1][i]) for i in range(len(snpst[0])))
snpdict = dict(('Chr%s' % snpst[0][i], snpst[1][i]) for i in range(len(snpst[0])))
with open(args['outFile'] + ".stats.json", "w") as out_stats:
out_stats.write(json.dumps(snpdict))
log.info("writing output into file: %s", args['outFile'] + ".npz")
Expand Down
Binary file modified snpmatch/core/snpmatch.pyc
Binary file not shown.

0 comments on commit cce3d0e

Please sign in to comment.