-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
fix(pacer.email): plain text parsing of bankruptcy short description #865
fix(pacer.email): plain text parsing of bankruptcy short description #865
Conversation
Because of order of statements, parsing of bankruptcy short description was failing when trying to access the 0 index of the empty list self.docket_numbers Also added - a plain text test case for cob - short description parsing case for cob - logger.error calls for when we are not prepared to parse a bankruptcy short description Solves freelawproject#729
Alberto, can you please review this one when you have a moment? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes here look pretty good. I just added a couple of suggestions and noticed that the description
parsing in the plain cob
example should be fixed.
…ents_plain - _contains_attachments_plain was always returning False, even when True - _get_description_plain updated regex for format seen in cob - Updated test cases: almd_4_plain.txt had a duplicated document paragraph
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've reviewed the latest changes here and they look great. I just made one last suggestion.
Thanks
for more information, see https://pre-commit.ci
…ossir/juriscraper into fix_recap_email_plain_text_bankruptcy
@albertisfu please check again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks good now to me. It seems ready for merging. @mlissner
Lovely. Thank you guys. |
Because of order of statements, parsing of bankruptcy short description was failing when trying to access the 0 index
of the empty list self.docket_numbers
Also added
Solves #729
Solves #866