Skip to content

Fix server-side code

Ayush Kumar Shah requested to merge fix-server into containerize

Changes

  • Update signature and missing variables in server code to adapt to new cdxml code changes
  • Add missing metrics key (Initial-MST-count) in new cdxml code
  • Add script to run and test server code locally and easily (without needing to build and serve docker containers everytime and without needing to change the environment variables manually to localhost)
  • Add fastapi installation in conda environment for server
  • Remove unused scripts containing absolute paths from Bryan's evaluation
  • Update README with instructions to test and run server code locally

Testing

  • git pull; git checkout fix-server
  • make rebuild
  • ./run-server
  • Go to fastapi docs and test the extractPdf service on the pdf inputs/chemxtest_inpdfs/All/or100.09.tables.pdf.
  • Check the generated cdxmls in ChemDraw.
Edited by Ayush Kumar Shah

Merge request reports