medphysul / delia Goto Github PK
View Code? Open in Web Editor NEWDICOM Extraction for Large-scale Image Analysis (DELIA).
License: Apache License 2.0
DICOM Extraction for Large-scale Image Analysis (DELIA).
License: Apache License 2.0
I am trying to create a patient database using the PatientsDatabase class from the delia package. However, I am encountering an AssertionError stating that no DICOM files are found in the patient folder.
Environment:
Python version: 3.10.11
OS: Windows
Delia version: 1.2.6
Error:
AssertionError: The patient folder must contain DICOM files. This is not the case for the patient whose data is currently being downloaded since no DICOM files are found in its folder.
Code:
from delia.databases import PatientsDatabase
from delia.extractors import PatientsDataExtractor
patients_data_extractor = PatientsDataExtractor(path_to_patients_folder=r"C:\dicom_folder")
database = PatientsDatabase(path_to_database=r"C:\dicom_folder\patients_database.h5")
database.create(patients_data_extractor=patients_data_extractor, overwrite_database=True)
The folder in question does contain .dcm files, yet the program throws an AssertionError stating otherwise.
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.