Closed Sujanadh closed 2 months ago
Thanks Sujan!
You are right the psycopg error can ignored 👍 It's fixed by installing libpq
building_exists
condition (yes/no) , aborting survey form if it is equal to 'no'building_exists
value@spwoodcock it is good to merge, but a test with these changes would be appreciated.
Will check and merge today!
I updated to remove xlsxwriter
and replace with openpyxl
as we don't need the precise editing capability of xlsxwriter
- sorry for the initial confusion on this.
However I kept calamine
as the xlsx/xls reader, as it's a fantastic library:
openpyxl
does not support!I started writing a very basic test for this.
@Sujanadh could you possibly finish this off?
Perhaps it's best to test with a form other than the included buildings.xls
as that already includes the mandatory fields!
(I just used it as an example)
I made a few small changes!
Also added some tests - let me know if this works / you agree with the edits & I will merge 👍
I tested it. it is good to go
Updates
python-calamine
andxlsxwriter
are added as packages. These packages are required to be used as an engine with pandas for reading and writingxlsx
files.What I encountered?
Got this dependency error from psycopg2 , I don't think it is related with these packages, I guess we can ignore it?