@@ -383,7 +383,7 @@ def reproject_and_coadd(
383
383
384
384
if intermediate_memmap :
385
385
# Remove the reference to the memmap before trying to remove the file itself
386
- logger .info (f "Removing memory-mapped weight array" )
386
+ logger .info ("Removing memory-mapped weight array" )
387
387
weights = None
388
388
try :
389
389
os .remove (weights_path )
@@ -396,7 +396,7 @@ def reproject_and_coadd(
396
396
# output image is empty (due e.g. to no overlap).
397
397
398
398
if on_the_fly :
399
- logger .info (f "Adding reprojected array to final array" )
399
+ logger .info ("Adding reprojected array to final array" )
400
400
# By default, values outside of the footprint are set to NaN
401
401
# but we set these to 0 here to avoid getting NaNs in the
402
402
# means/sums.
@@ -412,7 +412,7 @@ def reproject_and_coadd(
412
412
if intermediate_memmap :
413
413
# Remove the references to the memmaps themesleves before
414
414
# trying to remove the files thermselves.
415
- logger .info (f "Removing memory-mapped array and footprint arrays" )
415
+ logger .info ("Removing memory-mapped array and footprint arrays" )
416
416
array = None
417
417
footprint = None
418
418
try :
@@ -422,12 +422,12 @@ def reproject_and_coadd(
422
422
pass
423
423
424
424
else :
425
- logger .info (f "Adding reprojected array to list to combine later" )
425
+ logger .info ("Adding reprojected array to list to combine later" )
426
426
arrays .append (array )
427
427
428
428
# If requested, try and match the backgrounds.
429
429
if match_background and len (arrays ) > 1 :
430
- logger .info (f "Match backgrounds" )
430
+ logger .info ("Match backgrounds" )
431
431
offset_matrix = determine_offset_matrix (arrays )
432
432
corrections = solve_corrections_sgd (offset_matrix )
433
433
if background_reference :
@@ -448,7 +448,7 @@ def reproject_and_coadd(
448
448
output_footprint [array .view_in_original_array ] += array .footprint
449
449
450
450
if combine_function == "mean" :
451
- logger .info (f "Handle normalization of output array" )
451
+ logger .info ("Handle normalization of output array" )
452
452
with np .errstate (invalid = "ignore" ):
453
453
output_array /= output_footprint
454
454
0 commit comments