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

Export StudyInstanceUID and SeriesInstanceUID in filename #94

Closed
dimrozakis opened this issue Apr 20, 2017 · 4 comments
Closed

Export StudyInstanceUID and SeriesInstanceUID in filename #94

dimrozakis opened this issue Apr 20, 2017 · 4 comments

Comments

@dimrozakis
Copy link

As far as I can tell, this isn't currently possible. Could an cli option be added to export these fields to the resulting nii file?

@fedjo
Copy link

fedjo commented Apr 20, 2017

+1

This could be very helpful.
Why are you extracting Series Number instead of SeriesInstanceUID?

@neurolabusc
Copy link
Collaborator

The updated code now allows you to specify %j and %k to include these in the filename. Personally, I find the series number (e.g. 9) easier to parse than the UID (e.g. 1.3.12.2.1107.5.2.32.35104.30000008061718153321800000002), but it is easy enough to support for those who find it useful.

@dimrozakis
Copy link
Author

@neurolabusc thanks a lot, much appreciated!

@fedjo
Copy link

fedjo commented Apr 25, 2017

@neurolabusc thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants