-
Notifications
You must be signed in to change notification settings - Fork 94
test_plot_cdfs test is extremely slow #298
Copy link
Copy link
Closed
Labels
Milestone
Description
This test takes extremely long, in the order of minutes. I wouldn't be surprised if it's over half of all testing time.
EMAworkbench/test/test_analysis/test_regional_sa.py
Lines 14 to 23 in b76b487
| class Test(unittest.TestCase): | |
| def test_plot_cdfs(self): | |
| x, outcomes = utilities.load_flu_data() | |
| y = outcomes["deceased population region 1"][:, -1] > 1000000 | |
| regional_sa.plot_cdfs(x, y) | |
| regional_sa.plot_cdfs(x, y, ccdf=True) | |
| x = x.drop("scenario", axis=1) | |
| regional_sa.plot_cdfs(x, y, ccdf=True) |
Reactions are currently unavailable