Skip to content

bug: batch_run assumes model datacollector is called datacollector #1221

@tpike3

Description

@tpike3

Describe the bug
batch_run assumes user will call DataCollector self.datacollector. This is not annotated in the documentation, nor is it necessarily a requirement

Expected behavior
users can name their model DataCollector whatever they want (e.g. self.dc)

To Reproduce
create model and name DataCollector anything else and then execute model with batch_run and try to retrieve the data.

Additional context
Bug identified via students from the University of Mary Washington. They also had some very positive comments from their Professor
"They keep saying "wow, that's so easy! That makes it so fun!" Thanks to you and your crew for all you do."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions