Skip to content

Commit

Permalink
fixing for when no plots requested
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Jan 22, 2021
1 parent fcb607c commit 01d879e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biosimulators_tellurium/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def exec_sed_doc(filename, working_dir, base_out_path, rel_out_path=None,
saveOutputs=True,
outputDir=tmp_out_dir,
)
for plot_format in plot_formats:
for plot_format in (plot_formats or [PlotFormat.pdf]):
factory.reportFormat = 'csv'
factory.plotFormat = plot_format.value
factory.executePython()
Expand Down

0 comments on commit 01d879e

Please sign in to comment.