diff --git a/cellpack/autopack/Environment.py b/cellpack/autopack/Environment.py index 9545e614..e50b18b0 100644 --- a/cellpack/autopack/Environment.py +++ b/cellpack/autopack/Environment.py @@ -156,6 +156,8 @@ def __init__(self, config=None, recipe=None): self.grid_file_out = ( f"{self.out_folder}/{self.name}_{config['name']}_{self.version}_grid.dat" ) + if recipe.get("grid_file_path") is not None: + self.grid_file_out = recipe["grid_file_path"] should_load_grid_file = ( os.path.isfile(self.grid_file_out) and self.load_from_grid_file