projectmesa / mesa-viz-tornado

Apache License 2.0
2 stars 8 forks source link

Added functionality to choose whether to print status/clicks or not #53

Closed coderbeta1 closed 6 months ago

coderbeta1 commented 6 months ago

Issue: Currently it is not possible to choose whether or not to print status/changes made on the server. When the model is run for many steps, it makes the terminal difficult to use/see

image

In the ModularVisualization.py file, while the functionality of verbose for class ModularServer is implemented it is not active and permanently set to True.

The small change implemented sets the default for printing to True, but also allows the user to change it to False if they prefer to do so. This is done by simply adding another optional input parameter with default True.

rht commented 6 months ago

Merged, thank you.