Skip to content

Commit

Permalink
add table gen to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mjburton committed Apr 30, 2018
1 parent 6de83a2 commit 02dc60c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions solar/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ all:
ipython sens_chart.py ./figs/ GEN
ipython npod_trade.py ./figs/ GEN
ipython solarlat.py ./figs/ GEN
ipython tablegen.py
2 changes: 1 addition & 1 deletion solar/tablegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def var_table(sols, colns, varks, latns, title, label):
assert len(sols) == len(colns) - 1

filename = "%s.generated.tex" % label
filename = "./figs/%s.generated.tex" % label
with open(filename, "w") as f:
if title:
f.write("\\caption{%s}\n" % title)
Expand Down

0 comments on commit 02dc60c

Please sign in to comment.