Extension Papaya


Extension Basics

Title
Papaya
Name
ckanext-papaya
Type
Public extension
Description
CKAN extension using Papaya viewer to provide views for DICOM and NIFTI files.
CKAN versions

~2.9.0

Show details

These CKAN Versions are exactely matched:

Download-Url (zip)
Last commit
6 years ago (2019-08-14 07:28:35)
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

.. image:: https://travis-ci.org/SFB-ELAINE/ckanext-papaya.svg?branch=master :target: https://travis-ci.org/SFB-ELAINE/ckanext-papaya

===============

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

To install ckanext-papaya:

  1. Activate your CKAN virtual environment, for example::

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

  2. Install the ckanext-papaya Python package into your virtual environment::

    pip install ckanext-papaya

  3. Add papaya to the ckan.plugins setting in your CKAN config file (by default the config file is located at /etc/ckan/default/production.ini). To avoid having the Papaya viewer enabled for all ZIP files, regardless of whether they contain DICOM files, do not add papaya to ckan.views.default_views.

  4. Restart CKAN. For example if you’ve deployed CKAN with Apache on Ubuntu::

    sudo service apache2 reload


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 to allow users to upload these file formats.


Developer installation

To install ckanext-papaya for development, activate your CKAN virtualenv and do::

git clone https://github.com//ckanext-papaya.git
cd ckanext-papaya
python setup.py develop
pip install -r dev-requirements.txt

Tests

To run the tests, do::

nosetests --nologcapture --with-pylons=test.ini

To run the tests and produce a coverage report, first make sure you have coverage installed in your virtualenv (pip install coverage) th

Version
Version release date
(not set)
Contact name
SFB ELAINE - ELectrically Active ImplaNts
Contakt email
(not set)
Contact Url
(not set)


Installation Guide

Configuration hints
Plugins to configure (ckan.ini)
papaya
CKAN Settings (ckan.ini)
DB migration to be executed
(not set)
<< back to Extensions