fusion-energy / openmc-dagmc-wrapper

A Python package that extends OpenMC base classes to provide convenience features and standardized tallies when simulating DAGMC geometry with OpenMC.
https://openmc-dagmc-wrapper.readthedocs.io/
MIT License
7 stars 2 forks source link

no longer warning when file not found #17

Closed shimwell closed 3 years ago

shimwell commented 3 years ago

Currently lots of warnings are printed when we try to delete a file using os.system('rm filename')

This introduces a method that silently fails when the file is not found.

If the file is not found for deletion then this is not a problem to concern the user with