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

compare DC to state of VA, not DC itself #28

Merged
merged 3 commits into from
May 2, 2017
Merged

Conversation

ryanpitts
Copy link
Member

@iandees @JoeGermuska this should get approval before merging, I think. It's intended to close censusreporter/censusreporter#108

I broke out a special_case_parents function in case we need to do other things like this, which I think is the lightest-touch way of getting at this. Hate the hard-coded solutions, but don't really see a better way around the problem.

@JoeGermuska
Copy link
Member

This doesn't do what I expect it to do. I'd think that it is replacing the "State" of DC with the "State" of VA, but that's not what I get:

image

TBH, I'm having some trouble tracing the flow and don't have a ton of time to spend on it, but I saw this dangling and thought it ought to get a look, and get caught up with other changes in the API so that this PR doesn't go stale.

In short, still needs to be verified.

@JoeGermuska JoeGermuska merged commit a48d8e6 into master May 2, 2017
@JoeGermuska JoeGermuska deleted the special-parents branch May 2, 2017 21:15
@JoeGermuska
Copy link
Member

Verified. I think we may still not see it unless we go around clearing caches, which is kind of tedious, but locally, I see it working.

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.

Washington DC: profile "about the same as" state should not compare to self
2 participants