From db382d4ec2b1353dcbefe577b46f7b54fc1d0173 Mon Sep 17 00:00:00 2001 From: Jammy2211 Date: Wed, 30 Apr 2025 11:57:47 +0100 Subject: [PATCH] black --- autogalaxy/analysis/plotter_interface.py | 2 +- test_autogalaxy/analysis/test_plotter_interface.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/autogalaxy/analysis/plotter_interface.py b/autogalaxy/analysis/plotter_interface.py index ddec7258f..35763e5f0 100644 --- a/autogalaxy/analysis/plotter_interface.py +++ b/autogalaxy/analysis/plotter_interface.py @@ -242,7 +242,7 @@ def should_plot(name): noise_map = inversion.reconstruction_noise_map_dict[mapper] with open( - self.image_path / f"inversion_reconstruction_{i}.csv", + self.image_path / f"source_plane_reconstruction_{i}.csv", mode="w", newline="", ) as file: diff --git a/test_autogalaxy/analysis/test_plotter_interface.py b/test_autogalaxy/analysis/test_plotter_interface.py index 9577f7345..e76e6a9a6 100644 --- a/test_autogalaxy/analysis/test_plotter_interface.py +++ b/test_autogalaxy/analysis/test_plotter_interface.py @@ -61,7 +61,9 @@ def test__inversion( assert path.join(plot_path, "subplot_inversion_0.png") in plot_patch.paths - with open(path.join(plot_path, "inversion_reconstruction_0.csv"), mode="r") as file: + with open( + path.join(plot_path, "source_plane_reconstruction_0.csv"), mode="r" + ) as file: reader = csv.reader(file) header_list = next(reader) # ['y', 'x', 'reconstruction', 'noise_map']