Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scopesim/reports/rst_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def latexify_rst_text(rst_text, filename=None, path=None, title_char="=",
text = "Title\n<<<<<\nSubtitle\n>>>>>>>>\n\n"
parts = publish_parts(
text + rst_text,
writer_name="latex",
writer="latex",
# Settings_overrides to placate FutureWarnings.
# TODO: Decide whether the future defaults look better.
settings_overrides={
Expand Down Expand Up @@ -362,7 +362,7 @@ def table_to_rst(tbl, indent=0, rounding=None):
for col in tbl.itercols():
if col.info.dtype.kind == "f":
col.info.format = f".{rounding}f"

tbl_fmtr = TableFormatter()
lines, outs = tbl_fmtr._pformat_table(tbl, max_width=-1, max_lines=-1,
show_unit=False)
Expand Down
Loading