activitysim icon indicating copy to clipboard operation
activitysim copied to clipboard

Silence Performance Warnings

Open dhensle opened this issue 2 years ago • 0 comments
trafficstars

ActivitySim runs often output many pandas PerformanceWarnings around pd.concat() that flood the terminal.

Until the root of the problem is addressed, this performance warning can be silenced by changing "default" to "ignore" in this line: https://github.com/ActivitySim/activitysim/blob/main/activitysim/core/config.py#L711

A setting should be added to either settings.yaml or logging.yaml to control whether performance warnings are reported.

dhensle avatar Jun 22 '23 18:06 dhensle