Tal Yarkoni

Results 139 comments of Tal Yarkoni

Can you try `nii.get_associations()` and paste the result? And if there are other JSON files in the list, take a look to see if any have a value of `'j'`....

I also notice that the outputs in your two snippets don't align... in the first snippet, the json file has `'j'` and the nifti image has `'j-'`... in your second...

> pybids does not use metadata embedded in dcmstack nifti extension? It does not. > if there is a json task descriptor at the BIDS folder root, does it have...

I notice you have both `sub-01_ses-vid001_run-01_sbref.nii.gz` and `sub-01_ses-vid001_task-bournesupremacy_run-01_sbref.nii.gz` files in the same directory... I'm wondering if that's what's causing the problem. I don't know that this is technically against the...

Hah, I must be blind—I was literally just staring at those templates for like 2 minutes and still couldn't see `task`. :) @bpinsard is there a JSON sidecar for `sub-01_ses-vid001_run-01_sbref.nii.gz`,...

> It does have the opposite phase direction, so this could be the cause. Ah, good (from my perspective, at least). That's probably it then. > What is weird is...

BTW, this is definitely something that should be caught by the BIDS validator (both the missing `task`, and the presence of two sidecars). If it isn't, please open an issue...

I meant directory. If a given file has 5 defined entities, then the natural place to look for a sidecar first is a JSON file that has exactly the same...

Thanks for the bug report, @snezakg. We don't officially support Windows at the moment, unfortunately. Fixing this will require someone more familiar with the platform to take a look. I'll...

Does it work in the bash subsystem? Just trying to gauge whether it's specific to one dataset, or is a general Windows issue. (Qualifier above still applies: I'm probably not...