Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
datacollector: store separate snapshots of model data per step (proje…
…ctmesa#2129) * datecollector: store separate snapshots of model data per step - Ensure `DataCollector` stores unique copies of the data at each model step. - Use `deepcopy` in `collect` method to avoid storing references that lead to each step holding the same data. - Fixes the issue where PropertyLayer data was stored identically for all steps, preventing accurate visualization and analysis of model progression. * datacollection: Add deepcopy comment
- Loading branch information