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