dbic / heudiconv

little helper to ease DICOM conversion to ready-to-share folder with heuristics
Other
0 stars 1 forks source link

_bold and other files in _scans have the same time stamp #29

Closed yarikoptic closed 6 years ago

yarikoptic commented 7 years ago
[XXXX] > sed -e 's,0000..,XXXXXX,g' sub-sidXXXXXX/ses-001/sub-sidXXXXXX_scans.tsv
filename        acq_time        operator        randstr
anat/sub-sidXXXXXX_ses-001_acq-MPRAGE_run-02_T1w.nii.gz 2016-12-07T14:49:29             \u+XXXX
fmap/sub-sidXXXXXX_ses-001_acq-24mm_magnitude1.nii.gz   2016-12-07T14:49:29             Bmf/AnbO
fmap/sub-sidXXXXXX_ses-001_acq-24mm_magnitude2.nii.gz   2016-12-07T14:52:13             .qsdxN%#
fmap/sub-sidXXXXXX_ses-001_acq-24mm_phasediff.nii.gz    2016-12-07T14:49:29             /,j2P[K6
func/sub-sidXXXXXX_ses-001_task-dd_acq-24mm64sl1000tr32te1800dyn_run-04_bold.nii.gz     2016-12-07T14:49:29             p}06xglC
func/sub-sidXXXXXX_ses-001_task-qreact_acq-24mm64sl1000tr32te500dyn_run-05_bold.nii.gz  2016-12-07T14:49:29             @W0^qh.D
func/sub-sidXXXXXX_ses-001_task-rest_acq-24mm64sl1000tr32te600dyn_run-03_bold.nii.gz    2016-12-07T14:49:29             Z\nq>@ml
func/sub-sidXXXXXX_ses-001_task-rest_acq-24mm64sl1000tr32te600dyn_run-06_bold.nii.gz    2016-12-07T14:49:29             ],G*Fq+A

and only magnitude2 for some reason has different one.... kinda strange, since originally thought it would be the scan time for all the files the same. @mvdoc could you look into it?

yarikoptic commented 7 years ago

should be fixed by e23fc837f98c0221c1478a68c8003d4d286d3608

yarikoptic commented 7 years ago

crap, still not quite kosher - need to figure it out:

$ cat ./sub-sid000021/ses-actions1/sub-sid000021_ses-actions1_scans.tsv
filename        acq_time        operator        randstr
anat/sub-sid000021_ses-actions1_acq-MPRAGE_T1w.nii.gz   2017-08-09T18:53:40     n/a     0P{!4&+g
fmap/sub-sid000021_ses-actions1_acq-25mm_magnitude1.nii.gz      2017-08-09T18:53:40     n/a     MylpwtgH
fmap/sub-sid000021_ses-actions1_acq-25mm_magnitude2.nii.gz      2017-08-09T18:24:07     n/a     Gj]hZSwb
fmap/sub-sid000021_ses-actions1_acq-25mm_phasediff.nii.gz       2017-08-09T18:53:40     n/a     t<M
func/sub-sid000021_ses-actions1_task-actions_run-01_bold.nii.gz 2017-08-09T18:53:40     n/a     /ya#I^W+
func/sub-sid000021_ses-actions1_task-actions_run-02_bold.nii.gz 2017-08-09T18:53:40     n/a     6p4nC_k-
func/sub-sid000021_ses-actions1_task-actions_run-03_bold.nii.gz 2017-08-09T18:53:40     n/a     "A&P""$zOT"
func/sub-sid000021_ses-actions1_task-actions_run-04_bold.nii.gz 2017-08-09T18:53:40     n/a     g=[C#?}.

yeap -- a bit of logic fixing is needed -- tomorrow!

yarikoptic commented 6 years ago

I think this was fixed awhile back