I am at a loss as to why this .molden file I generated with QChem is not displaying the MOs. I tried to compare it with one I generated from CFour that does display the MOs and I cannot see what is different in their formatting. (I deleted all the MOs but the first for debugging)
I think it’s because the QChem file has “Occup = 1.0” instead of “Occup=” and since we split on spaces, it’s a different number of items in the list.
Can you send me the whole file? I think the problem is that
This is the reason. I went through with a debugger and hit line 229 in molden.cpp, then stepping into the lexical cast operation it is getting stream = "=" because on line 229 it’s pulling
This does seem to be true as well. All of the comparisons are against lowercase letters in the source. It should probably be changed to use std::lower with std::transform