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:
openmc-plotter (current directory with individual XML files or model.xml file)
openmc-plotter some_dir/ (directory with individual XML files or model.xml file
openmc-plotter some_model.xml (single, arbitrarily named XML file)
For consistency, the plot_settings.pkl file is always written in the same directory where the XML files exist.
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:
openmc-plotter
(current directory with individual XML files or model.xml file)openmc-plotter some_dir/
(directory with individual XML files or model.xml fileopenmc-plotter some_model.xml
(single, arbitrarily named XML file)For consistency, the plot_settings.pkl file is always written in the same directory where the XML files exist.