Skip to main content

An anonymized MRI exemplar

Project description


This application simply copies from embedded data a reference normal anonymized MRI of a subject aged 10 years, 06 months, 01 days.


mri10yr06mo01da_normal.python                                   \
    [-v <level>] [--verbosity <level>]                          \
    [--version]                                                 \
    [--man]                                                     \
    [--meta]                                                    \
    [--dir <dir>]                                               \
    [--splash <splash>]                                         \


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

If specified, print version number.

If specified, print this man page.

If specified, print plugin meta data.

[--splash <splash>]
An optional splash message to print on startup.

[--dir <dir>]
An optional override directory to copy to the <outputDir>.
Note, if run from a containerized version, this will copy
a directory from the *container* file system.


This plugin can be run in two modes: natively as a python package or as a containerized docker image.

Using PyPI

To run from PyPI, simply do a

pip install mri10yr06mo01da_normal

and run with --man /tmp

to get inline help. The app should also understand being called with only one positional argument /destination/directory

Using docker run

To run using docker, be sure to assign an “input” directory to /incoming and an output directory to /outgoing. Make sure that the $(pwd)/out directory is world writable!

Now, prefix all calls with

docker run --rm -v $(pwd)/out:/outgoing                             \
        fnndsc/pl-mri10yr06mo01da_normal                        \

Thus, getting inline help is:

mkdir out && chmod 777 out
docker run --rm -v $(pwd)/in:/incoming -v $(pwd)/out:/outgoing      \
        fnndsc/pl-mri10yr06mo01da_normal  \
        --man                                                       \


Copy the embedded MRI data to the out directory

mkdir out && chmod 777 out
docker run --rm -v $(pwd)/out:/outgoing                             \
        fnndsc/pl-mri10yr06mo01da_normal  \

Copy a user specified directory to the out directory

mkdir out && chmod 777 out
docker run --rm -v $(pwd)/out:/outgoing                             \
        fnndsc/pl-mri10yr06mo01da_normal  \
        --dir /usr/src/data

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mri10yr06mo01da-normal, version 1.1.4
Filename, size File type Python version Upload date Hashes
Filename, size mri10yr06mo01da_normal-1.1.4.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page