Coder Social home page Coder Social logo

thelabbingproject / django_dicom Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 9.0 2.23 MB

A reusable django app to manage DICOM files.

Home Page: https://django-dicom.readthedocs.io/en/latest/

License: Apache License 2.0

Python 98.46% HTML 1.52% CSS 0.02%
dicom django-app medical-imaging research-data-management

django_dicom's Introduction

PyPI version PyPI status CircleCI ReadTheDocs codecov.io

django-dicom

A django app to manage DICOM files.

This app creates the basic models for DICOM data abstraction: Study, Patient, Series, and Image. The models are complemented with some utility methods to facilitate data access.

Quick start

  1. Add "django_dicom" to your INSTALLED_APPS setting:
    INSTALLED_APPS = [
        ...
        'django_dicom',
    ]
  1. Include the dicom URLconf in your project urls.py:
    path('dicom/', include('django_dicom.urls')),
  1. Run python manage.py migrate to create the dicom models.

  2. Start the development server and visit http://127.0.0.1:8000/admin/.

  3. Visit http://127.0.0.1:8000/dicom/.

Documentation

The full documentation can be found here.

django_dicom's People

Contributors

aharonyn avatar sivang avatar zvibaratz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

django_dicom's Issues

Could not install on windows 10

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Incorrect SCU logic

Seems like the IP of the SCU is not required. Instead, an SCP server needs to be started on localhost.

IntegrityError raised for tag (0028,0106)

The issue is raised for subject 06QLHG4P's data in our lab database.

image

Examining existing tags reveals the tag indeed already exists:
image

The problem is most probably caused by a difference in the description of the data element.
I propose we change the logic in the DataElementDefintionManager from its current state which causes the error to try and return by tag and keyword alone and create only on ObjectDoesNotExist.

I'll create a PR soon.

This does not work with python 9. shows errror

Exception: Cython-generated file 'pandas_libs/algos.c' not found.
Cython is required to compile pandas from a development branch.
Please install Cython or download a release package of pandas.

  pandas._libs.algos: -> [['pandas\\_libs/algos.c']]
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
Rolling back uninstall of pandas
Moving to d:\pagoda\tmmc\dicom\venv\lib\site-packages\pandas-1.4.1.dist-info
from D:\pagoda\tmmc\dicom\venv\Lib\site-packages~andas-1.4.1.dist-info
Moving to d:\pagoda\tmmc\dicom\venv\lib\site-packages\pandas
from D:\pagoda\tmmc\dicom\venv\Lib\site-packages~andas
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pandas

Update tests

Tests should be updated to pass with maximal coverage.

Customize imported data elements

Create a new setting to specify data element tags that should be serialized to the database and change the default import mode to minimal (with the tags prioritized over it).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.