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')