Skip to content

Latest commit

 

History

History
113 lines (66 loc) · 2.22 KB

README.rst

File metadata and controls

113 lines (66 loc) · 2.22 KB

pl-deoldify

https://img.shields.io/docker/v/fnndsc/pl-deoldify?sort=semver https://img.shields.io/github/license/fnndsc/pl-deoldify

An application to colorize images and videos.

deoldify is a ChRIS ds-type application that takes in ... as ... files and produces ...

docker run --rm fnndsc/pl-deoldify deoldify
    [-h|--help]
    [--json] [--man] [--meta]
    [--savejson <DIR>]
    [-v|--verbosity <level>]
    [--version]
    <inputDir> <outputDir>
[-h] [--help]
If specified, show help message and exit.

[--json]
If specified, show json representation of app and exit.

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

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

[--savejson <DIR>]
If specified, save json representation file to DIR and exit.

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

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

.Getting inline help is:

podman run --rm fnndsc/SAG-anon deoldify --man

.Run

You need to specify input and output directories using the -v flag to docker run.

podman run --rm -u $(id -u)                             \
    -v $(pwd)/in:/incoming -v $(pwd)/out:/outgoing      \
    fnndsc/SAG-anon deoldify                        \
    /incoming /outgoing

Build the Docker container:

docker build -t local/pl-deoldify .

Run unit tests:

docker run --rm local/pl-deoldify nosetests

Put some examples here!

https://raw.githubusercontent.com/FNNDSC/cookiecutter-chrisapp/master/doc/assets/badge/light.png