Skip to content
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

Fix Except PdosWorkChain when tot_magnetization is used #992

Closed

Conversation

AndresOrtegaGuerrero
Copy link
Contributor

This PR address #988

if 'fermi_energy' in workchain.outputs.output_parameters.dict:
self.ctx.nscf_fermi = workchain.outputs.output_parameters.dict.fermi_energy
else:
self.ctx.nscf_fermi_energy_up = workchain.outputs.output_parameters.dict.fermi_energy_up
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @AndresOrtegaGuerrero! Quick question here: do we need to keep nscf_fermi_energy_up and nscf_fermi_energy_down in the context if we determine the Fermi level from the highest value in line 466?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes i will update this !

@AndresOrtegaGuerrero
Copy link
Contributor Author

I did another PR #993 so is in my personal account

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants