SuffolkLITLab / docassemble-ALWeaver

A tool to help quickly generate draft interviews from an existing document (pdf or DOCX) for the docassemble platform.
https://apps-test.suffolklitlab.org/start/ALWeaver/assembly_line/#/1
MIT License
19 stars 5 forks source link

Don't try "auto drafting" with an empty PDF or DOCX file #934

Closed nonprofittechy closed 3 months ago

nonprofittechy commented 3 months ago

Fix #933

  1. Checks the uploaded document for fields before attempting auto drafting mode
  2. Skips some metadata that we added in #925 when autodrafting is used (rather than awkwardly prompting the user)
  3. Map the jurisdiction code to LMSS jurisdiction code, if the jurisdiction provided looks like the abbreviation for a US state.
nonprofittechy commented 3 months ago

I did a local unit test and all tests pass. not sure what's going on with the hashes that don't match in the download--perhaps the same thing where it tries to download an increasingly older version of docassemble.base to resolve dependencies and eventually runs out of disk space.