Open berquist opened 8 years ago
Definitely. I agree that verboseness is always a good thing, and you're spot on with the set_attribute
trigger. If there's too much output, it can always be modulated with an option/flag.
OK, I did a little bit to start, but pushing the rest back to v1.6.2.
Should we be more liberal with the use of the logger? It seems like a very nice thing to have that isn't being taken advantage of. This is all we have right now:
If so, it would be rather tedious to go back to each of the parsers and duplicate the same message everywhere, since most of the messages probably shouldn't be unique to specific parsers or programs. Could there be a way to have a
set_attribute
hook to spit out a message that's attribute dependent? For example, when settingetenergies
, a warning for negative excitation energies, or forvibfreqs
, a warning for imaginary frequencies.At least, when we (eventually) update the documentation, we might want some guidelines on using the logger for people who contribute.