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

Migrating code we don't want to merge with QE into a utilities folder #128

Merged
merged 42 commits into from
Mar 17, 2022

Conversation

elinscott
Copy link
Collaborator

@elinscott elinscott commented Mar 4, 2022

This PR moves all of the custom modifications to QE that will not be merged with the official version of QE, and puts these in a new folder quantum_espresso/utils. This folder contains the now independent wann2kcp program (previously pw2wannier using the wann2odd/ks2odd modes), in addition to merge_evc and epsilon.

Furthermore, merge_evc has been made totally independent from all the QE routines (not committed yet).

The creation of the new wann2kcp required the creation of the associated calculator, dictionary and related functions. In parallel, also ase has been updated (new wann2kcp calculator).

@elinscott elinscott marked this pull request as draft March 4, 2022 16:05
@pep8-speaks-bot
Copy link
Collaborator

pep8-speaks-bot commented Mar 14, 2022

Hello @elinscott! Thanks for updating this PR.

Line 123:13: E722 do not use bare 'except'

Comment last updated at 2022-03-17 12:00:53 UTC

@degennar
Copy link
Collaborator

Hello @elinscott! Thanks for updating this PR.

Line 125:13: E722 do not use bare 'except'

@elinscott Not my fault here :)

@elinscott
Copy link
Collaborator Author

Hello @elinscott! Thanks for updating this PR.

Line 125:13: E722 do not use bare 'except'

@elinscott Not my fault here :)

Ignore this -- there are so many different ways calc.read_results() can fail that it's hard to avoid a bare execpt

@degennar degennar marked this pull request as ready for review March 15, 2022 19:50
@elinscott
Copy link
Collaborator Author

I just had a quick look through the python modifications and it is all looking good!

@degennar degennar self-requested a review March 17, 2022 13:39
@degennar degennar merged commit f709dc4 into master Mar 17, 2022
@degennar degennar deleted the moving_wan2odd_out_of_qe7 branch March 17, 2022 13:40
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.

4 participants