Skip to content

list indices must be integers or slices, not str #2

@Tom303-afk

Description

@Tom303-afk

Good evening,

Thank you for giving us this great tool.
I tried to apply it to a mesh I made in Simvascular and I got the following error:

Traceback (most recent call last):
File "Mesh-converter.py", line 182, in
convert_to_dolfin_xdmf(**read_command_line())
File "Mesh-converter.py", line 138, in convert_to_dolfin_xdmf
N = msh_vtp.cells["triangle"].shape[0]
TypeError: list indices must be integers or slices, not str

Can I overcome this problem somehow?

With kind regards,

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