zvibaratz / django_dicom Goto Github PK
View Code? Open in Web Editor NEWThis project forked from thelabbingproject/django_dicom
A django app to manage DICOM files.
License: Apache License 2.0
This project forked from thelabbingproject/django_dicom
A django app to manage DICOM files.
License: Apache License 2.0
The possibility of using MRIcroGL or cornerstone in order to create embeddable MRI views should be examined.
Including os.remove and IntegrityError raising in case of existing image.
I use your code in my django project,not work,have some proble like this:
ERRORS:
django_dicom.NIfTI.path: (mysql.E001) MySQL does not allow unique CharFields to have a max_length > 255.
django_dicom.Patient.subject: (fields.E300) Field defines a relation with model 'research.Subject', which is either not installed, or is abstract.
django_dicom.Patient.subject: (fields.E307) The field django_dicom.Patient.subject was declared with a lazy reference to 'research.subject', but app 'research' isn't installed.
Is the version of django?
my django version is 2.1.7
hope you reply soon
thank you!
The app is functional but requires some serious code review and refactoring before development continues any further.
The app needs proper documentation and usage examples.
The app needs tests.
unzip
docker build -t django-dicom:1.3 #any tag
docker-compose up -d
how to solve this error
while I to create app by django_dicom
File "/Users/chris/PycharmProjects/AVM_dicom/venv/lib/python3.7/site-packages/django/apps/config.py", line 211, in import_models
self.models_module = import_module(models_module_name)
File "/usr/local/Cellar/python/3.7.2_2/Frameworks/Python.framework/Versions/3.7/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/Users/chris/PycharmProjects/AVM_dicom/venv/lib/python3.7/site-packages/django_dicom/models/__init__.py", line 1, in <module>
from django_dicom.models.patient import Patient
File "/Users/chris/PycharmProjects/AVM_dicom/venv/lib/python3.7/site-packages/django_dicom/models/patient.py", line 3, in <module>
from django_dicom.models.choices import Sex
File "/Users/chris/PycharmProjects/AVM_dicom/venv/lib/python3.7/site-packages/django_dicom/models/choices.py", line 1, in <module>
from pylabber.utils import ChoiceEnum
ModuleNotFoundError: No module named 'pylabber'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.