diff --git a/src/xfel_calibrate/finalize.py b/src/xfel_calibrate/finalize.py
index ba24bb226c0f2910c6e48f1c83058f2a596a44ed..4fc25b57ddf2d2c42d1c15472f090acc76e91e24 100644
--- a/src/xfel_calibrate/finalize.py
+++ b/src/xfel_calibrate/finalize.py
@@ -182,6 +182,9 @@ def make_timing_summary(run_path: Path, job_times: List[List[str]],
                         {{ line }}
                         {%- endfor %}
 
+                    ''')
+
+    job_tbl_tmpl = Template('''
                     .. math::
                         {% for line in job_table %}
                         {{ line }}
@@ -196,13 +199,15 @@ def make_timing_summary(run_path: Path, job_times: List[List[str]],
     ]
 
     with (run_path / "timing_summary.rst").open("w+") as fd:
-        job_table = tabulate.tabulate(job_times, tablefmt="latex",
-                                      headers=job_time_fmt)
         time_table = tabulate.tabulate(time_vals, tablefmt="latex",
                                        headers=["Processing step", "Timestamp"])
 
-        fd.write(dedent(tmpl.render(job_table=job_table.split("\n"),
-                                    time_table=time_table.split("\n"))))
+        fd.write(dedent(tmpl.render(time_table=time_table.split("\n"))))
+
+        if job_times:
+            job_table = tabulate.tabulate(job_times, tablefmt="latex",
+                                          headers=job_time_fmt)
+            fd.write(dedent(job_tbl_tmpl.render(job_table=job_table.split("\n"))))
 
 
 def make_report(run_path: Path, tmp_path: Path, project: str,