-
Notifications
You must be signed in to change notification settings - Fork 7
electron-check warnings #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@briling I'm not a big fan of the increment startegy here, but seems to be the best option...
what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think it's okay!
briling
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think it's okay!
verbosekwarg to spahm call functionscheck_nelec()function (for warning only)verbosearguments to functions callingcheck_nelec()for rho-SPAHM reps