eX-Mech / pymech

A Python software suite for Nek5000 and SIMSON
https://pymech.readthedocs.io/en/stable
GNU General Public License v3.0
24 stars 23 forks source link

Function writevtk errors because Path object is used #69

Closed ashwinvis closed 1 year ago

ashwinvis commented 1 year ago

In vtksuite.py, we have a function called writevtk(). keep getting thrown an error which corresponds to line 195 of writevtk() - that we cannot add a Posix path with a string. Given that writevtk is still experimental, do we correct the code before line 195 converting 'fname' from PosixPath to str() ? Would this be a bug fix?

Sent by A. Vinodh