Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

add "born" as equivalent of "DOB" token #197

Closed
wants to merge 2 commits into from

Conversation

mscarey
Copy link
Contributor

@mscarey mscarey commented Sep 19, 2019

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Description

Treats the word "born" in the Deceased field as the beginning of a "DOB" field (same as if the substring "DOB" had appeared instead of "born").

The parser was failing to assign the right text to the right fields because it couldn't tell where the DOB began.

I added a test case to test_person.test_process_deceased_field_00.

Checklist:

  • [] I have updated the documentation accordingly
  • I have written unit tests

Fixes: #192

@rgreinho rgreinho added the no-mergify Prevents Mergify from auto-merging the PR label Sep 19, 2019
@rgreinho
Copy link
Member

We'll keep this one in the backlog until I'm done with adding the models.

rgreinho added a commit that referenced this pull request Sep 30, 2019
This is a port of @mscarey fix: #197.

Fixes #192
@rgreinho rgreinho mentioned this pull request Sep 30, 2019
@rgreinho
Copy link
Member

Moved to #208.

@rgreinho rgreinho closed this Sep 30, 2019
mergify bot pushed a commit that referenced this pull request Oct 1, 2019
This is a port of @mscarey fix: #197.

Fixes #192
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
no-mergify Prevents Mergify from auto-merging the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect DOB parsing
2 participants