urbansim_templates
urbansim_templates copied to clipboard
small bug fix for large mnl simulation re: specification of interaction terms
The original code I wrote to accommodate a list of tables of interaction terms breaks if the interaction terms aren't a list of dataframes but rather a single dataframe, which we don't want. This PR simply fixes the large mnl run() method to account for the latter case.
Not sure if this fix elicits its own version increase, perhaps could just get included in the next release if there's one in the works?
Coverage decreased (-0.2%) to 91.928% when pulling aa2e9ed4942565205d47aa953f437d9bd6087044 on large_mnl_intx_term_fix into 33249051721ccf42f1282c59208f431316c6caa4 on master.
Great! It looks like the Travis failures are unrelated to your changes, but would you mind adding a commit here as described in issue #110 to see if it fixes the builds?
I'll be getting back to urbansim_templates
work in July.. Happy to make a point release for this in the meantime if it would make your workflow easier, or if you think other folks might run into the same bug.
Oh, right, I guess we're already into the 0.2 dev series of version numbers. You could increment this and call it 0.2.dev7. And probably no release on pip/conda until 0.2 is finished, unless there's a good reason.
Just triggered the builds with the requirements.txt fix. We'll see how it goes. I don't personally need the version update/point release, and I don't think anyone else will run into this issue. I just wanted to make sure the bug and the fix was documented for the next release. Is there an easy way to just let this PR camp out until the next release?
Sweet, that worked! Fine by me to leave this PR unmerged -- i'll make sure it gets included in the next release.
👍
@smmaurer any updates on this? can we schedule some time to chat about it?