Skip to content

darwinai/pl-pdfgeneration

Repository files navigation

pl-pdfgeneration

https://travis-ci.org/FNNDSC/pdfgeneration.svg?branch=master

An app that takes in prediction results and generates PDF

python pdfgeneration.py                                           \
    [-v <level>] [--verbosity <level>]                          \
    [--version]                                                 \
    [--man]                                                     \
    [--meta]                                                    \
    <inputDir>
    <outputDir>

pdfgeneration.py is a ChRIS-based application that...

[-v <level>] [--verbosity <level>]
Verbosity level for app. Not used currently.

[--version]
If specified, print version number.

[--man]
If specified, print (this) man page.

[--meta]
If specified, print plugin meta data.

[--imagefile]
required field, the name of the patient chest X-Ray image

[--patientId]
patient's id
DOCKER_BUILDKIT=1 docker build -t local/pl-covidnet-pdfgeneration .
docker run --rm -u $(id -u):$(id -g) \
    -v $PWD/in:/incoming:ro -v $PWD/out:/outgoing:rw \
    darwinai/pl-covidnet covidnet \
    --imagefile ex-covid.jpg /incoming /outgoing

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