LCA-ActivityBrowser / activity-browser

GUI for brightway2
GNU Lesser General Public License v3.0
134 stars 50 forks source link

Reference flows equal to 0 aren't allowed to calculate anymore. #1170

Closed marc-vdm closed 6 months ago

marc-vdm commented 6 months ago

It was not allowed for the sum of reference flows in a calculation setup to be equal to 0. This was an error.

AB should instead check for reference flows that are 0 themselves (needing 0 of something will by definition have 0 impact, so should not be allowed in calculation).

AB now checks for any ==0 reference flows and shows an appropriate error message informing user.

Checklist

coveralls commented 6 months ago

Coverage Status

coverage: 50.392% (+0.06%) from 50.33% when pulling 04dd246d65822efc58440a3c24ce5baf3a488db1 on marc-vdm:calculation_setup_0_msg into 51566ac32c80bbc40d4f976084dbb1a8ee88f985 on LCA-ActivityBrowser:master.

github-actions[bot] commented 6 months ago

This issue has been implemented in the new release of Activity Browser 🚀 (version 2.9.3), you can get the new version by updating Activity Browser.

🤖beep boop! I'm a bot and this message was an automated action. If updating does not make sense for this issue, just ignore this.