arup-group / elara

Command line utility for processing MATSim events output files.
MIT License
14 stars 4 forks source link

fixed __str__ calls as bound method in logging #146

Closed andkay closed 3 years ago

andkay commented 3 years ago

fixes several logging functions that had calls directly to the method f{self.__str__} rather than its result f{self.__str__()}.

should fix unhelpful warnings like:

elara.plan_handlers WARNING <bound method WorkStation.__str__ of <elara.plan_handlers.PlanHandlerWorkStation object at 0x12d7e3490>> has no resources, build returning None.