Extension Papaya Viewer


Extension Basics

Title
Papaya Viewer
Name
ckanext-papaya
Type
Public extension
Description
CKAN extension using Papaya viewer to provide views for DICOM (.dcm) and NIFTI (.nii) files, including DICOM directories uploaded as ZIP files.
CKAN versions
Download-Url (zip)
Last commit
6 years ago (2019-08-14 09:28:35)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

ckanext-papaya

This is an extension for CKAN that uses Papaya (https://github.com/rii-mango/Papaya) to provide views for NIFTI (.nii) and DICOM (.dcm) file formats. It provides views for both single DICOM files as well as DICOM directories uploaded to CKAN as a ZIP file.

Requirements

Tested with CKAN 2.9.0a.

Installation

  1. Activate your CKAN virtual environment:

    . /usr/lib/ckan/default/bin/activate

  2. Install the package:

    pip install ckanext-papaya

  3. Add papaya to the ckan.plugins setting in your CKAN config file. To avoid having the Papaya viewer enabled for all ZIP files, do not add papaya to ckan.views.default_views.

  4. Restart CKAN.

Config settings

None at present. NIFTI files and DICOM directories tend to be rather large, so you may have to increase the maximum resource size.

Using the Extension

The extension automatically creates a view using the Papaya Viewer for single DICOM files (.dcm), NIFTI files (.nii), and ZIP archives containing DICOM files. Non-DICOM files in ZIP archives are ignored. To view zipped DICOM files, the extension temporarily unzips the archive. Unlike the ParaView extension, this runs directly in CKAN and does not require a separate server.

License

AGPL-3.0

Version
0.0.1
Version release date
2019-08-14
Contact name
SFB-ELAINE
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints

Add ‘papaya’ to ckan.plugins. Do NOT add to ckan.views.default_views to avoid enabling for all ZIP files. May need to increase maximum resource size for large DICOM/NIFTI files.

Plugins to configure (ckan.ini)
papaya
CKAN Settings (ckan.ini)
# No specific environment variables documented
DB migration to be executed
(not set)
<< back to Extensions