-
Notifications
You must be signed in to change notification settings - Fork 121
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
Add an examplar of dcm_file path in seqinfo #333
Conversation
Codecov Report
@@ Coverage Diff @@
## master #333 +/- ##
=======================================
Coverage 77.64% 77.64%
=======================================
Files 41 41
Lines 3167 3167
=======================================
Hits 2459 2459
Misses 708 708
Continue to review full report at Codecov.
|
@bpinsard - i think this is a good start. it would be nice to add a test, an example heuristic that uses the dicom info from the file. @yarikoptic @mgxd what do you think? more generally would it be useful to pass paths to all files in a group? obviously we can't store this in the dicominfo.tsv, but we are storing this in the filegroup.json, so could we simply pass that along with seqinfo? |
I am worrying of storing full paths there, since then it would prevent any relocation etc. |
@bpinsard could you please followup with description of the problem/use-case you are trying to address here? |
At the acquisition center we store information in the following dicom tags:
And I also extract information from:
I don't know if this is relevant to other people. If not we can close that. |
hold on -- we are already storing a filename and a directory for the file:
But why don't we also extend the SeqInfo record with found to be useful additional fields to contain the ones you desire so there is no need to re-load the dicom? |
SeqInfo does include filename and the folder but the later is only the name of the last folder in the path that contains the dicom, not the full path. Is there a specific reason for that? If we remove the |
oh, right -- I was too fast in misreading that code. Thanks for the explanation ;)
probably again just to not leak absolute paths there, and provide minimal sufficient (someone might want to use filename, some name of the immediate directory with dicoms) information for the heuristic. |
94d6772
to
aa0d332
Compare
Add an examplar of a dicom file in seqinfo to allow access more information in infotodict.