Skip to content

Commit

Permalink
Fixed bug in print statements.
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Click <tcthepoet@yahoo.com>
  • Loading branch information
Timothy Click authored and Timothy Click committed Oct 25, 2017
1 parent d6479cb commit 9187527
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fluctmatch/commands/cmd_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def cli(stats, hist, outdir, ressep, tbltype, table):
if stats:
filename = path.join(
outdir,
"_".join(tbltype.lower(), "table", "stats.txt")
"_".join((tbltype.lower(), "table", "stats.txt"))
)
with openany(filename, "w") as stat_file:
print("Writing table statistics to {}".format(filename))
Expand Down Expand Up @@ -142,7 +142,7 @@ def cli(stats, hist, outdir, ressep, tbltype, table):
if hist:
filename = path.join(
outdir,
"_".join(tbltype.lower(), "table", "hist.txt")
"_".join((tbltype.lower(), "table", "hist.txt"))
)
with openany(filename, "w") as stat_file:
print("Writing table histogram to {}".format(filename))
Expand Down

0 comments on commit 9187527

Please sign in to comment.