From 8c702c862fdf658017f01c043700e3ffd071f890 Mon Sep 17 00:00:00 2001 From: imedan Date: Wed, 16 Oct 2024 17:48:53 -0400 Subject: [PATCH] fix status issue --- bin/replace_RS_designs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/replace_RS_designs.py b/bin/replace_RS_designs.py index 04ed738..bf12029 100644 --- a/bin/replace_RS_designs.py +++ b/bin/replace_RS_designs.py @@ -59,6 +59,9 @@ for f in files: if 'validation' in f or 'status' in f: files.remove(f) + for f in files: + if 'validation' in f or 'status' in f: + files.remove(f) files_valid = [] for f in files: files_valid.append(f[:-5] + '_validation.fits')