simbilod / meshwell

GMSH wrapper, with integrated photonics focus
https://simbilod.github.io/meshwell/
GNU General Public License v3.0
19 stars 2 forks source link

Less general Exception in `sync_model` #32

Open nikosavola opened 11 months ago

nikosavola commented 11 months ago

Changes one Exception to catch only the expected errors

HelgeGehring commented 11 months ago

I somehow don't like to just continue on an exception. I less not like doing this for fewer exceptions, but still, I'd guess we should really discuss if there's another option than just ignoring an exception

nikosavola commented 11 months ago

I somehow don't like to just continue on an exception. I less not like doing this for fewer exceptions, but still, I'd guess we should really discuss if there's another option than just ignoring an exception

Yeah, just preprocessing the loop or an if check could work as well