Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tom303-afk opened this issue Mar 13, 2020 · 0 comments · May be fixed by #7
Open

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

Tom303-afk opened this issue Mar 13, 2020 · 0 comments · May be fixed by #7

Comments

@Tom303-afk
Copy link

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,

Flagy added a commit to Flagy/Tools that referenced this issue Oct 6, 2022
@Flagy Flagy linked a pull request Oct 6, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant