GEOUNED-org / GEOUNED

A tool to convert CAD to CSG & CSG to CAD for Monte Carlo transport codes
European Union Public License 1.2
45 stars 27 forks source link

[BUG] - unable to write output files to non existence folders #153

Closed shimwell closed 1 month ago

shimwell commented 1 month ago

Describe the bug

When attempting to write files to folders that don't exist geouned crashes. We could instead used the mkdir command to make the folder for the user.

To Reproduce

Steps to reproduce the behavior: for example: change the geometryName to a folder with a file like randomfolder/csg_files

Expected behavior

folder should be made and file should be written

Error message

If applicable, include the error message displayed in the console: strange type of surface, unexpected exit, python exception… Screenshot 2024-05-14 105404

Please complete the following information):

shimwell commented 1 month ago

I don't have repo permissions to self assign but just writing this message to say I'm keen to fix this issue

shimwell commented 1 month ago

solved by PR #162