Skip to content

Commit 5335bb7

Browse files
minor fixes for losartan supplement
1 parent 3013857 commit 5335bb7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/sbmlsim/sensitivity/analysis.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,7 @@ def plot_sobol_indices(
502502
console.print(f"{ymax=}")
503503

504504
for ko, output in enumerate(self.outputs):
505+
# f_path = fig_path.parent / f"FigS{ko+22}_{fig_path.stem}_{ko:>03}_{output.uid}{fig_path.suffix}"
505506
f_path = fig_path.parent / f"{fig_path.stem}_{ko:>03}_{output.uid}{fig_path.suffix}"
506507

507508
S1 = self.sensitivity["S1"][:, ko]
@@ -640,8 +641,8 @@ def df_sampling_sensitivity(
640641
df_latex: pd.DataFrame = df.copy()
641642
df_latex.drop(['uid', 'N', "min", "max", "q005", "q095"], axis=1, inplace=True)
642643
latex_str = df_latex.to_latex(None, index=False, float_format="{:.3g}".format)
643-
latex_str = latex_str.replace("∞", "$\infty$")
644-
latex_str = latex_str.replace("*", "$\cdot$")
644+
latex_str = latex_str.replace("∞", r"$\infty$")
645+
latex_str = latex_str.replace("*", r"$\cdot$")
645646

646647
with open(latex_path, "w") as f:
647648
f.write(latex_str)

0 commit comments

Comments
 (0)