PennLINC / CuBIDS

Curation of BIDS (CuBIDS): A sanity-preserving software package for processing BIDS datasets.
https://cubids.readthedocs.io/
MIT License
20 stars 9 forks source link

RU site pipeline output error #296

Open BaranMary opened 9 months ago

BaranMary commented 9 months ago

Summary

Hello, We are currently conducting a revised audit outputs of our abcd-hcp-pipeline for the HBN site (RU). However, we have encountered a limitation wherein we only receive structural outputs and a single rest run output, unlike the other two sites that do not experience this issue. When using the original audit script, the following error occurs:

Traceback (most recent call last):
  File "/panfs/jay/groups/6/faird/shared/projects/new_rae_testing/abcd-hcp-pipeline_audit/run.py", line 128, in <module>
    sessions_to_analyze = [item['Prefix'].split('/')[2] for item in get_data if 'ses' in item['Prefix'].split('/')[2]]
  File "/panfs/jay/groups/6/faird/shared/projects/new_rae_testing/abcd-hcp-pipeline_audit/run.py", line 128, in <listcomp>
    sessions_to_analyze = [item['Prefix'].split('/')[2] for item in get_data if 'ses' in item['Prefix'].split('/')[2]]
TypeError: string indices must be integers

We appreciate your help and consideration

Additional details

What were you trying to do?

What did you expect to happen?

What actually happened?

Reproducing the bug

tsalo commented 9 months ago

@BaranMary sorry, but your traceback doesn't seem to be related to CuBIDS code. Could you provide a bit more detail? I also don't know what you mean by "audit script".