openmc-dev / plotter

Native plotting GUI for model design and verification
MIT License
43 stars 17 forks source link

Support opening single model XML files #115

Closed paulromano closed 1 year ago

paulromano commented 1 year ago

Right now the plotter assumes that a user's model is always composed of separate geometry, materials, and settings XML files. This PR updates the plotter to work with our new functionality in v0.13.3 whereby a model can be represented in a single XML file. The command-line arguments were reconfigured now so that you pass the directory or model.xml file as a regular (non-flag) argument:

For consistency, the plot_settings.pkl file is always written in the same directory where the XML files exist.