-
-
Notifications
You must be signed in to change notification settings - Fork 97
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(dcd): update to OpinionSiteLinear #1020
Conversation
Solves freelawproject#1019 Updating base class to OpinionSiteLinear makes code shorter and cleaner, also solves the following bug: InsanityException caused by unexpected extra line of text in case name cell: "LEAVE OF COURT REQUIRED FOR FILINGS.", which inflated the case_name count by 1
fix(dcd): remove `nature_of_suit` - Remove nature of suit extraction following discussion on freelawproject#1020 - OpinionSiteLinear supporting all optional fields reduces code duplication, and a getter in `dcd`
So adding support for all optional fields to OpinionSiteLinear breaks the |
@grossir I think this needs to be split into two separate PRs. The tests are failing because the addition of the optional getters is now causing other court tests to fail because they were failing silently before. Now that you are fixing the silent fail - we should fix all those tests. Those though should be handled in a separate PR. Then lets fix DCD |
Also, revert dcd_example_compare.json
@quevon24 please check again, I just separated the fix for dcd. The missing fields will be collected on the other PR |
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.
Great @grossir, It is ready to merge
Solves #1019
Updating base class to OpinionSiteLinear makes code shorter and cleaner, also solves the following bug:
InsanityException caused by unexpected extra line of text in case name cell: "LEAVE OF COURT REQUIRED FOR FILINGS.", which inflated the case_name count by 1