Git Product home page Git Product logo

dvha-mlca's People

Contributors

cutright avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dvha-mlca's Issues

Error while running

Hi Dan.. First of all thanks for the code. While running the code I got this error? Your help is highly appreciated.

Capture

`

AttributeError: 'Dataset' object has no attribute 'BeamMeterset'

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

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.