jonhrafe / MCDC_Simulator_public

The Monte Carlo Diffusion and Collision simulator (MC/DC), is a C++ open-source Diffusion-Weighted Magnetic Resonance Imaging (DW-MRI) Monte Carlo Simulator.
https://jonhrafe.github.io/MCDC_Simulator_public/
GNU Lesser General Public License v2.1
19 stars 12 forks source link

Misleading error message when binary mesh is provided #9

Open sibowi opened 3 years ago

sibowi commented 3 years ago

When a mesh is provided in binary format, the error message "PLY mesh should be completely triangulated" is given.

It would be very nice if the error message was more descriptive of the actual issue - which in this case is the binary format, and not the triangulation of the mesh.

The error occurs for meshes saved with pymesh.save_mesh() and is avoided by specifying ascii=True.