From d04c5cbaf9efced4afbf978351fefd52f1805683 Mon Sep 17 00:00:00 2001 From: Noe Brucy Date: Wed, 16 Feb 2022 15:54:45 +0100 Subject: [PATCH] tlc --- plotter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plotter.py b/plotter.py index e5ba1bc..dd0dcea 100644 --- a/plotter.py +++ b/plotter.py @@ -408,7 +408,7 @@ class Plotter(Aggregator, BaseProcessor): for i, (run, num) in enumerate(run_num): # Find filename - if not onefigure or movie: + if movie or not onefigure: plot_filename = self._find_filename(name_full, run, num) # Find ax @@ -515,7 +515,7 @@ class Plotter(Aggregator, BaseProcessor): tag_name = "_" + tag_name if run is not None and num is not None: - fmt = "{out}/{run}{subfolder}/{name}{tag}_{run}{ext}" + fmt = "{out}/{run}{subfolder}/{name}{tag}_{run}_{num:05}{ext}" elif run is not None: fmt = "{out}/{run}{subfolder}/{name}{tag}_{run}{ext}" else: