Skip to content

Commit

Permalink
removed a white space
Browse files Browse the repository at this point in the history
  • Loading branch information
afender committed Apr 8, 2019
1 parent 19f85c8 commit 1c38c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/utils/mtx2csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
+ os.path.splitext(os.path.basename(args.file.name))[0] + '.csv ...')
t1 = time.time()
os.path.splitext(os.path.basename(args.file.name))[0] + '.csv'
csv_file = open(os.path.splitext(os.path.basename(args.file.name))[0]
csv_file = open(os.path.splitext(os.path.basename(args.file.name))[0]
+ '.csv', "w")
for item in range(M.getnnz()):
csv_file.write("{}{}{}\n".format(M.row[item], separator, M.col[item]))
Expand Down

0 comments on commit 1c38c7e

Please sign in to comment.