brainlife / ezbids

A web service for semi-automated conversion of raw imaging data to BIDS
https://brainlife.io/ezbids
MIT License
26 stars 13 forks source link

TypeError: list indices must be integers or slices, not dict #57

Closed andreifoldes closed 2 years ago

andreifoldes commented 2 years ago

Greetings,

I had the following issue today: failed to run preprocess -- code:1

Traceback (most recent call last):
  File "./analyzer/analyzer.py", line 1544, in <module>
    dataset_list_unique_series = datatype_suffix_identification(dataset_list_unique_series)
  File "./analyzer/analyzer.py", line 799, in datatype_suffix_identification
    suffixes = [x for y in [rule[x]["suffixes"] for x in rule] for x in y]
  File "./analyzer/analyzer.py", line 799, in <listcomp>
    suffixes = [x for y in [rule[x]["suffixes"] for x in rule] for x in y]
TypeError: list indices must be integers or slices, not dict

url: https://brainlife.io/ezbids/#6295fd28dcc8aaf425d41713

dlevitas commented 2 years ago

This has been fixed but the changes won't be on the ezBIDS website until early next week. We'll let you know once the updates have been applied.

dlevitas commented 2 years ago

Hi @andreifoldes ,

This issue should now be fixed. Please re-open if it continues to persist.