HCPPipelines icon indicating copy to clipboard operation
HCPPipelines copied to clipboard

Python type error

Open mlueckel opened this issue 4 years ago • 1 comments

Hi,

I’m trying to run the HCPPipelines BIDS app on some of my data using a singularity image that I built from the docker container (version 4.1.3-1).

There is no problem when running it with the “legacy” option. However, when running it with the “hcp” option to include the T2 image, fieldmaps, etc., I immediately get the following error message:

Traceback (most recent call last): File “/run.py”, line 326, in fieldmap_set[“magnitude1”], TypeError: list indices must be integers or slices, not str

Is there a way to solve this problem?

Any help is much appreciated!

Thank you, Max

mlueckel avatar Jan 01 '21 17:01 mlueckel

Does your dataset have phase/magnitude fieldmaps? That should work, but hasn’t been tested as thoroughly as the HCP style of collecting spin echo images with opposing PE direction. Would you be able to share a small test dataset?

On Jan 1, 2021, at 12:06 PM, mlueckel [email protected] wrote:

 Hi,

I’m trying to run the HCPPipelines BIDS app on some of my data using a singularity image that I built from the docker container (version 4.1.3-1).

There is no problem when running it with the “legacy” option. However, when running it with the “hcp” option to include the T2 image, fieldmaps, etc., I immediately get the following error message:

Traceback (most recent call last): File “/run.py”, line 326, in fieldmap_set[“magnitude1”], TypeError: list indices must be integers or slices, not str

Is there a way to solve this problem?

Any help is much appreciated!

Thank you, Max

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

rhancockn avatar Jan 01 '21 18:01 rhancockn