-
Notifications
You must be signed in to change notification settings - Fork 15
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
Bringing the data into reproin-compliant form #65
Comments
Good/correct finding! ;)
almost. It will not "look" for them. Given a '^t1w_.*' (for example) it would remap it to 'anat-T1w', and that is the one which reproin heuristic knows how to handle and it will then provide remapped name. If it still doesn't know how to treat it -- it would issue a warning at https://github.com/nipy/heudiconv/blob/master/heudiconv/heuristics/reproin.py#L659 -- "Could not figure out where to stick %d sequences: %s" .
it should
for use of the heuristic -- no.
Seems to consider only scouts, and those are not converted (of no interest for BIDS) -- we only store DICOMs. See https://github.com/nipy/heudiconv/blob/master/heudiconv/heuristics/reproin.py#L637 So -- do you have only scouts there? if not -- check logs for that "Count not figure out ..." warning -- may be some sequence names were not mapped fully/correctly? |
Thank you for your answer! I have now adjusted the myreproin.py to for my data and it seems to be working! I get a few files with 2 underscores after the conversion, like: sub-ol3844_ses-pre_run-02_epi__echo-1_dup-01.nii.gz |
|
Could you please answer the message above? |
dunno yet. Do you have possibility to share a sample data with your full heuristic to check out? likely in the code we handle "incorrectly" BIDS entities while adding
for multi-echo sequences you would have 1 entry in tsv to generate multiple files with different Looking at your I am a little confused since in your mapping above you do not have such Overall -- please share a sample data. If you can't:
|
Ok, thanks for the help! We r gonna solve the question with anonymity and then write you an email ;) |
are you at sfn by any chance ? then stop by at DANDI booth 3316 (let me know if you would when) and we could troubleshoot interactively. |
No, I'm not in Washington :( I work at the ANCP lab in Uni Oldenburg. |
sorry -- did you resolve this @Evgeniia-Gapontseva ? email is in every commit in github -- debian AT onerussian.com |
Hello! I would like to convert the data using the reproin heuristic in heudiconv. The data was not originally recorded in a reproin-compliant manner.
I watched a video on YouTube presenting Reproin, mentioning: 'possible to use even with already collected (in DICOMs) data (HOWTO is coming)'
Video: https://www.youtube.com/watch?v=j2SKX37-w4c
Is the HOWTO present online? Or maybe there are examples of converting non-reproin-compliant data using reproin?
I found this thread: #18
I understand that the reproin heuristic would look for particular values in 'series_description' of a dicom and convert files with these values.
When we also use the code from myreproin, it would remap such values in a way that the heuristic would now look not for 'anat-T1w' but for '^t1w_.*' (for example) in series_description. Is my understanding correct?
Should the use of this heuristic(myreproin) be sufficient? Do I additionally need to restructure my folders? Currently, use of myreproin heuristic does not lead to a proper conversion.
The structure of my dicoms is presented in the first screenshot and the converted files using myreproin - in the second.
The text was updated successfully, but these errors were encountered: