Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, September 5, 2018 8:44:27 AM(UTC)
Dan Howard

Groups: Registered
Posts: 8

Thanks: 1 times

The topic described here

https://www.leadtools.co...it-to-your-DICOM-DataSet

by Nick Villalobos seems like it might have a bug.

The code sample seems to be calling an extra call to x on line 23 because we already have a value for orgnum from GenerateNewUid in that code.

ds.InsertElementAndSetValue(DicomTag.SOPInstanceUID, GenerateNewUid(orgnum));


Does it look like a bug to anyone?
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, September 5, 2018 9:08:50 AM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

Was thanked: 27 time(s) in 27 post(s)

Hello Dan,

Thanks for catching that. It was probably a line that was included for testing in an actual project, but was never removed when creating the post. I'll go ahead and update the code snippet.

Thanks,
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
thanks 1 user thanked Anthony Northrup for this useful post.
Dan Howard on 9/5/2018(UTC)
 
#3 Posted : Wednesday, September 5, 2018 9:35:51 AM(UTC)
Dan Howard

Groups: Registered
Posts: 8

Thanks: 1 times

Thanks
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.121 seconds.