cutright / dvha-mlca Goto Github PK
View Code? Open in Web Editor NEWMLC Analyzer from DVHA as a Stand-Alone Script
License: Other
MLC Analyzer from DVHA as a Stand-Alone Script
License: Other
Hi,
When I try to analyze a DICOM RT Plan file, I get this error:
AttributeError: 'Dataset' object has no attribute 'BeamMeterset'
I have Windows 10, I use spyder(anaconda3) via console and here is the error that I get:
Python 3.8.5 (default, Sep 3 2020, 21:29:08) [MSC v.1916 64 bit (AMD64)]
Type "copyright", "credits" or "license" for more information.
IPython 7.19.0 -- An enhanced Interactive Python.
from mlca.mlc_analyzer import Plan
plan = Plan (r'C:\Users\user\Desktop\RP.1.2.246.352.71.5.456301677130.131406.20210910084808.dcm')
Traceback (most recent call last):
File "", line 1, in
plan = Plan (r'C:\Users\user\Desktop\RP.1.2.246.352.71.5.456301677130.131406.20210910084808.dcm')
File "C:\Users\user\anaconda3\lib\site-packages\mlca\mlc_analyzer.py", line 178, in init
self.fx_group = [FxGroup(fx_grp, beam_seq) for fx_grp in fx_grp_seq]
File "C:\Users\user\anaconda3\lib\site-packages\mlca\mlc_analyzer.py", line 178, in
self.fx_group = [FxGroup(fx_grp, beam_seq) for fx_grp in fx_grp_seq]
File "C:\Users\user\anaconda3\lib\site-packages\mlca\mlc_analyzer.py", line 365, in init
meter_set[ref_beam_num] = float(ref_beam.BeamMeterset)
File "C:\Users\user\anaconda3\lib\site-packages\pydicom\dataset.py", line 836, in getattr
return object.getattribute(self, name)
AttributeError: 'Dataset' object has no attribute 'BeamMeterset'
Could anyone let me know how to fix this issue?
Best Regards
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.