File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -297,9 +297,9 @@ def image_beam(
297297 aux_lists = {}
298298 for pol in pols :
299299 imglob = (
300- f"{ prefix } *[0-9]-image.fits"
300+ f"{ prefix } - *[0-9]-image.fits"
301301 if pol == "I"
302- else f"{ prefix } *[0-9]-{ pol } -image.fits"
302+ else f"{ prefix } - *[0-9]-{ pol } -image.fits"
303303 )
304304 image_list = sorted (glob (imglob ))
305305 image_lists [pol ] = image_list
@@ -308,9 +308,9 @@ def image_beam(
308308
309309 for aux in ["model" , "psf" , "residual" , "dirty" ]:
310310 aux_list = (
311- sorted (glob (f"{ prefix } *[0-9]-{ aux } .fits" ))
311+ sorted (glob (f"{ prefix } - *[0-9]-{ aux } .fits" ))
312312 if pol == "I" or aux == "psf"
313- else sorted (glob (f"{ prefix } *[0-9]-{ pol } -{ aux } .fits" ))
313+ else sorted (glob (f"{ prefix } - *[0-9]-{ pol } -{ aux } .fits" ))
314314 )
315315 aux_lists [(pol , aux )] = aux_list
316316
You can’t perform that action at this time.
0 commit comments