-
Notifications
You must be signed in to change notification settings - Fork 93
HGH cleanup #1064
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
Comments
Thanks for reaching out ! But I am not sure I fully understand your description. The Yes, in DFTK we still use the acronym "HGH" at plenty of places and it would probably better to rename this consistently to "GTH", I agree with that. Would that be what you are after ? |
Ok, that makes sense. So should data/psp/hgh have the name changed for consistency? and should the examples/pseudopotentials.jl file keep the hgh example it currently uses, or should both examples be from PseudoPotentialData.jl? So then an edited list to change the HGH acronym to be GTH for consistency. Let me know if this looks good. test/PspHgh.jl – Change file name and references to this file |
No this would be a breaking change which makes no sense for a feature that will get removed soon-ish anyway. Maybe even the rest of the PR is breaking and then we would probably remove it right now. The rest looks broadly good to me. Let's discuss further concretely in a PR. |
Here are all the files that I would need to change to phase out hgh pseudopotential files. Some of the actions I need to take I'm not totally sure about, so some direction would be appreciated based on what I have down for each of the files. At this point I've mostly just noted which files have hgh mentions that need to be reconciled, and took a guess about what or how to reconcile that issue, but I may not totally understand how hgh and gth files work with DFTK. Please advise or confirm for my approach.
test/PspHgh.jl – Probably just needs the file name changed to PspGth, and all references would need changing too.
test/list_psp.jl – I think just change the name to GTH in line 1.
src/pseudo/PspHgh.jl – Maybe a bit complicated. Not totally sure. This probably also encodes for gth files. Not totally sure.
src/pseudo/load_psp.jl – Remove .hgh file abilities.
src/workarounds/forwarddiff_rules.jl – Calling Psphgh, fixed with test/psphgh.jl renaming/structuring.
data/psp/hgh – Just remove all the pseudopotentials? Or maybe just change the names to gth? Not really clear on this.
examples/pseudopotentials.jl – Alter the example so it doesn't use .hgh files (only example with .hgh reference).
docs/features.md – Remove HGH mention (only mention of hgh in docs).
The text was updated successfully, but these errors were encountered: