Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check nrows against accounting_column sum in transition remove_rows() #200

Merged
merged 1 commit into from
Jun 28, 2017

Conversation

conorhenley
Copy link
Contributor

@conorhenley conorhenley commented Jun 27, 2017

remove_rows() was previously checking the number of units (hh, jobs, establishments) to remove against the number of rows in the data table rather than the sum of the accounting_column in that table and segment. This was causing a ValueError in cases where a lot of units in the accounting_column (e.g. establishments.employees) needed to be removed.

@conorhenley conorhenley changed the title fix for cases in which large number of accounting_column records shou… check nrows against accounting_column sum in transition remove_rows() Jun 27, 2017
@coveralls
Copy link

coveralls commented Jun 27, 2017

Coverage Status

Coverage increased (+0.003%) to 94.337% when pulling b99a842 on transition_check into 1982464 on master.

@conorhenley conorhenley merged commit f0e2146 into master Jun 28, 2017
@conorhenley conorhenley deleted the transition_check branch June 28, 2017 00:04
@smmaurer smmaurer mentioned this pull request Sep 10, 2019
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants