Apply @paulromano suggestions from code review

Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
Patrick Shriwise 2022-12-12 20:23:49 -06:00 committed by GitHub
parent 916863f82a
commit 145594ebb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 8 deletions

View file

@ -352,7 +352,7 @@ bool read_model_xml() {
auto other_inputs = {"materials.xml", "geometry.xml", "settings.xml", "tallies.xml", "plots.xml"};
for (const auto& input : other_inputs) {
if (file_exists(settings::path_input + input)) {
warning((fmt::format("Other XML file input(s) are present. These file "
warning((fmt::format("Other XML file input(s) are present. These files "
"will be ignored in favor of the {} file.",
model_filename)));
break;
@ -371,7 +371,7 @@ bool read_model_xml() {
// Read geometry
if (!check_for_node(root, "geometry")) {
fatal_error(fmt::format(
"No <geometry> node present in the model.xml_file.", model_filename));
"No <geometry> node present in the {} file.", model_filename));
}
read_geometry_xml(root.child("geometry"));