Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.41 KB

README.rst

File metadata and controls

55 lines (37 loc) · 1.41 KB

pl-pdfgeneration

License AGPL-3.0 Version

Table of Contents

Generate a simple PDF report for the results from pl-covidnet.

  • Not working on PowerPC.
  • Something like this should use jinja2 and LaTeX instead.
[--imagefile]
required field, the name of the patient chest X-Ray image

[--patientId]
name to appear in report
mkdir covidnet-in covidnet-out pdfgeneration-out
cp chest-scan.jpg covidnet-in

docker run --rm -u -u $(id -u):$(id -g) \
    -v $PWD/covidnet-in:/incoming:ro -v $PWD/covidnet-out:/outgoing:rw \
    fnndsc/pl-covidnet:0.2.0 covidnet \
    --imagefile chest-scan.jpg /incoming /outgoing

docker run --rm -u -u $(id -u):$(id -g) \
    -v $PWD/covidnet-out:/incoming:ro -v $PWD/pdfgeneration-out:/outgoing:rw \
    fnndsc/pl-covidnet-pdfgeneration:0.2.0 pdfgeneration \
    --imagefile chest-scan.jpg --patientId 12345678 /incoming /outgoing