Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion autogalaxy/analysis/plotter_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion test_autogalaxy/analysis/test_plotter_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']

Expand Down
Loading