why this method not working in the new version of DICOM dcm.value('0018,6018', :array => true)

24 views
Skip to first unread message

Omar Omar

unread,
Jul 4, 2016, 8:49:09 AM7/4/16
to ruby-dicom

why this method not working in the new version of DICOM

dcm.value('0018,6018', :array => true)

Christoffer Lervåg

unread,
Jul 4, 2016, 8:59:58 AM7/4/16
to ruby-...@googlegroups.com
There is no :array option for the #value method. Use dcm.value('0018,6018') instead.

Do you get the expected result? If not, wha do you expect, and what do you get?

On Mon, Jul 4, 2016 at 2:49 PM, Omar Omar <engoma...@gmail.com> wrote:

why this method not working in the new version of DICOM

dcm.value('0018,6018', :array => true)

--
You received this message because you are subscribed to the Google Groups "ruby-dicom" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-dicom+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Omar Omar

unread,
Jul 4, 2016, 9:16:06 AM7/4/16
to ruby-dicom
in the old version I have this method
dcm.get_value('0018,6018', :array => true)
what is the alternative method of this

Christoffer Lervåg

unread,
Jul 4, 2016, 1:20:10 PM7/4/16
to ruby-...@googlegroups.com
Please try:

dcm.value('0018,6018')

If you dont get the expected result, tell us what you get, and what you expect. There is no :array keyword, and I dont think it should be necessary to use it.


Reply all
Reply to author
Forward
0 new messages