Conversation
|
discussion from #139 :
Liam:
|
Working with L11 database for the COSMO cookbook-recipe (as a quick example of KRR using e-spahm). |
|
somehow you still have the |
does not supress `RuntimeError` (too many electrons)
efe9644 to
ae80d2d
Compare
| if readdm is None: | ||
| _e, v = spahm.get_guess_orbitals(mol, guess, xc=xc) | ||
| dm = guesses.get_dm(v, mol.nelec, mol.spin if sp is not None else None) | ||
| dm = guesses.get_dm(v, mol.nelec, mol.spin if sp is not None else None, verbose=printlevel+1) |
There was a problem hiding this comment.
@briling I'm not a big fan of the increment startegy here, but seems to be the best option...
what do you think?
briling
left a comment
There was a problem hiding this comment.
can you squash and merge?
| if readdm is None: | ||
| _e, v = spahm.get_guess_orbitals(mol, guess, xc=xc) | ||
| dm = guesses.get_dm(v, mol.nelec, mol.spin if sp is not None else None) | ||
| dm = guesses.get_dm(v, mol.nelec, mol.spin if sp is not None else None, verbose=printlevel+1) |
verbosekwarg to spahm call functionscheck_nelec()function (for warning only)verbosearguments to functions callingcheck_nelec()for rho-SPAHM reps