Skip to content

ValueError: could not convert string to float: 'volume' #2

@soichih

Description

@soichih

I saw a bunch of this error happening on Bigred3. On master branch.

Traceback (most recent call last):
  File "/N/project/brainlife/workdir/prod-bigred3/5e7e1e5f3138f7a36d314e85/5f8d95b4c7adcb8bb01474f7/create_data_csv.py", line 44, in <module>
    [lh_wm_vol,rh_wm_vol,tot_wm_vol] = extract_wm_stats(white_matter_stats)
  File "/N/project/brainlife/workdir/prod-bigred3/5e7e1e5f3138f7a36d314e85/5f8d95b4c7adcb8bb01474f7/create_data_csv.py", line 22, in extract_wm_stats
    tot_wm_vol = float(tot.split()[9])
ValueError: could not convert string to float: 'volume'

The input is freesurfer 7.1.0 (validated) output. And user is using "aparc" for parcellation parameter. User affected is "Sergio Grueso Saez".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions