Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DICOM tag viewer does not sort entries for SEG #2049

Closed
fedorov opened this issue Sep 18, 2020 · 10 comments
Closed

DICOM tag viewer does not sort entries for SEG #2049

fedorov opened this issue Sep 18, 2020 · 10 comments
Assignees
Labels
IDC:priority Items that the Imaging Data Commons wants to help sponsor

Comments

@fedorov
Copy link
Member

fedorov commented Sep 18, 2020

It appears that entries for SEG are not sorted

image

I thought this is because of the presence of sequences, but they seem to be sorted for SRs...

@fedorov fedorov added Community: Report 🐛 IDC:priority Items that the Imaging Data Commons wants to help sponsor labels Sep 18, 2020
@pieper
Copy link
Member

pieper commented Sep 18, 2020

Can you clarify what part is not sorted? At a glance it seems that the tags are sorted by group and then element within each nesting level. Or do I miss something?

@fedorov
Copy link
Member Author

fedorov commented Sep 18, 2020

Well, maybe they are indeed sorted, but I don't know the sort order is. It is not obvious to me.

Here's where group 0002 is in SEG tag lilst:

image

And for the CT instance is it at the very top (consistent with other tag viewers):

image

@pieper
Copy link
Member

pieper commented Sep 18, 2020

I can't tell from your seg screenshot what's above the sequence. Is it group 0000?

@fedorov
Copy link
Member Author

fedorov commented Sep 18, 2020

it is group 5200

image

@pieper
Copy link
Member

pieper commented Sep 18, 2020

Okay, yes, that's clearly incorrect.

@JamesAPetts
Copy link
Member

Interesting.

I'm actually just iterating through the props, which for the most part are adding in the right order, which seemed largely fine. But the way we compose SEGs mean we add tags in different times. All groups will be fine, so I think we just need to sort the top level.

@fedorov
Copy link
Member Author

fedorov commented Sep 19, 2020

Nitpick: can you also add a space between ">" and "("?

@fedorov
Copy link
Member Author

fedorov commented Oct 13, 2020

I am not going to try to trace back the version of the viewer used in IDC to this one, but I see that this issue was fixed ~20 days ago, so I am going to take an educated guess it is in IDC. If that guess is accurate, the issue has not been fixed:

image

@fedorov fedorov reopened this Oct 13, 2020
@JamesAPetts
Copy link
Member

After some discussion on slack it seems this is either fixed, or we have issues on certain SEGs.

@fedorov will check if he can reproduce.

@fedorov
Copy link
Member Author

fedorov commented Oct 21, 2020

Can't reproduce it, must have been fixed! 👍

@fedorov fedorov closed this as completed Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDC:priority Items that the Imaging Data Commons wants to help sponsor
Projects
None yet
Development

No branches or pull requests

3 participants