Skip to content
Snippets Groups Projects
Commit 5f59e9a7 authored by Markus Frank's avatar Markus Frank Committed by MarkusFrankATcernch
Browse files

Remove warning printout in compact

parent 438d263d
No related branches found
No related tags found
No related merge requests found
......@@ -467,7 +467,7 @@ template <> void Converter<Isotope>::operator()(xml_h e) const {
iso->GetName(), iso->GetZ(), iso->GetN(), iso->GetA());
}
else {
printout(WARNING, "Compact",
printout(s_debug_isotopes ? WARNING : DEBUG, "Compact",
"++ Isotope %-16s Z:%3d N:%3d A:%8.4f [g/mol] ALREADY defined. [Ignore definition]",
iso->GetName(), iso->GetZ(), iso->GetN(), iso->GetA());
}
......@@ -536,7 +536,8 @@ template <> void Converter<Atom>::operator()(xml_h e) const {
}
}
else {
printout(WARNING, "Compact", "++ Element %-16s Z:%3d N:%3d A:%8.4f [g/mol] ALREADY defined. [Ignore definition]",
printout(s_debug_elements ? WARNING : DEBUG, "Compact",
"++ Element %-16s Z:%3d N:%3d A:%8.4f [g/mol] ALREADY defined. [Ignore definition]",
elt->GetName(), elt->Z(), elt->N(), elt->A());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment