spatialtopology / spacetop-prep

code for transferring data and preprocessing
MIT License
1 stars 3 forks source link

[BUG] SUSPICIOUSLY_LONG_EVENT_DESIGN or SUSPICIOUSLY_SHORT_EVENT_DESIGN #115

Open jungheejung opened 2 months ago

jungheejung commented 2 months ago

Which module is this from?

func

What is the issue?

(Write your answer here.)

What was your expected behavior?

Some runs are shorter than expected.

How can we reproduce this?

Check _bold.json and key value dcmmeta_shape

Any additional context?

Below are the files that are shorter or longer than expected. Code for reproducing this output: https://github.com/spatialtopology/spacetop-prep/blob/dd101fbe3aa230ff25ca63d73a63f0939a631782/spacetop_prep/datalad/identify_shorterTR.py

Files with shorter dcmmeta_shape:
sub-0001_ses-02_task-narratives_acq-mb8_run-01_bold.json (TR Value: 937)
sub-0001_ses-02_task-narratives_acq-mb8_run-02_bold.json (TR Value: 1059)
sub-0005_ses-04_task-fractional_acq-mb8_run-01_bold.json (TR Value: 5)
sub-0013_ses-04_task-fractional_acq-mb8_run-01_bold.json (TR Value: 1234)
sub-0055_ses-02_task-narratives_acq-mb8_run-04_bold.json (TR Value: 1126)
sub-0069_ses-02_task-narratives_acq-mb8_run-03_bold.json (TR Value: 652)

Files with longer dcmmeta_shape:
sub-0002_ses-04_task-fractional_acq-mb8_run-01_bold.json (TR Value: 1323)
sub-0003_ses-04_task-fractional_acq-mb8_run-01_bold.json (TR Value: 1323)
sub-0004_ses-04_task-fractional_acq-mb8_run-01_bold.json (TR Value: 1323)
sub-0008_ses-04_task-fractional_acq-mb8_run-01_bold.json (TR Value: 1323)
sub-0009_ses-04_task-fractional_acq-mb8_run-01_bold.json (TR Value: 1323)
sub-0010_ses-04_task-fractional_acq-mb8_run-01_bold.json (TR Value: 1323)
sub-0011_ses-04_task-fractional_acq-mb8_run-01_bold.json (TR Value: 1323)
sub-0016_ses-04_task-fractional_acq-mb8_run-01_bold.json (TR Value: 1323)

sub-0017_ses-04_task-fractional_acq-mb8_run-01_bold.json (TR Value: 1323)

jungheejung commented 1 month ago

nib-ls sub-0004/ses-02/func/sub-0004_ses-02_task-faces_run-01*bold*.nii.gz