Skip to content

Commit 663f959

Browse files
author
Bert Vandenbroucke
committed
Also pass on correction directory to AutoPlotter constructor in recreate_instances() (comparison mode).
1 parent 06a9c53 commit 663f959

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

velociraptor/autoplotter/compare.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def recreate_instances(
7878
names: Union[str, List[str]],
7979
observational_data_directory: Optional[str] = None,
8080
file_extension: Optional[str] = None,
81+
correction_directory: Optional[str] = None,
8182
) -> Tuple[AutoPlotter, Dict[str, Dict]]:
8283
"""
8384
Recreates instances of required objects for passing to
@@ -116,7 +117,9 @@ def recreate_instances(
116117
"""
117118

118119
auto_plotter = AutoPlotter(
119-
config, observational_data_directory=observational_data_directory
120+
config,
121+
observational_data_directory=observational_data_directory,
122+
correction_directory=correction_directory,
120123
)
121124

122125
file_extension = file_extension if file_extension is not None else "png"

0 commit comments

Comments
 (0)