Alejandro de la Vega

Results 129 comments of Alejandro de la Vega

The file names are unique, but they are organized into folders such as "contrast1_contrast2", which I are not guaranteed to be unique. But if there's overlap the individual files should...

Just had this same issue pop up when trying to do `get_tasks`. Turn out a match for `task` was a description for said column in `participants.json`. Probably should exclude dicts/metadata...

This is definitely on our mental road map, so thanks for formalizing it. What I wonder is if this will primary replace this internal bids.layout config: i.e: https://github.com/bids-standard/pybids/blob/master/bids/layout/config/bids.json or if...

@tsalo are there aspects of the BIDS Schema that beyind the scope of the current config files? That is, in your view have we hard coded other assumptions into Python...

Hi @erdalkaraca thank you for the summary. I have to take a deeper dive myself but what you've done in certainly impressive and seems to have some major benefits, especially...

Yes @christian-oreilly, the derivatives are indexed recursively, so you would get the nested tree structure you found. Feel free to open a PR to help out on this. We're definitely...

Okay there are two problems here: 1) There is a flaw in the logic for `_load_time_variables`. In this line: https://github.com/bids-standard/pybids/blob/0a14a17a824be629736082dec5193c04503ea180/bids/layout/layout.py#L800 When looping over images, if a "result" is found for...

Setting scope to `raw` will not work here, because I want the scope of variabels to include both raw and derivatives, but only loop over raw images when loading data.

I believe I can fix my problem by querying like this: ``` layout.get_collections(subject='19', task='MerlinMovie', level='run', desc=None) ``` but I'll leave this issue open for when that refactor of the `io`...

This is going to be a problem anytime you have multiple matching images. For example, if you forgot to specify `desc=preproc` or `space='MNI152NLin2009cAsym'` in `analysis.setup()`