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

Order of items for an ECP #49

Open
aannabe opened this issue Jun 5, 2019 · 2 comments
Open

Order of items for an ECP #49

aannabe opened this issue Jun 5, 2019 · 2 comments

Comments

@aannabe
Copy link
Contributor

aannabe commented Jun 5, 2019

This is minor, but when clicked on an element, the listed items - basis-sets, ECPs - are in no particular order. Listing ECPs first and then basis-sets with increasing cardinality/quality would make it easier to navigate.

@prckent
Copy link
Contributor

prckent commented Jun 5, 2019

Good point. Can you write down an algorithm for your preferred ordering? e.g. Put anything matching some wildcard first, another wildcard second.

@aannabe
Copy link
Contributor Author

aannabe commented Jun 5, 2019

Something like this would work to list in bash

declare -a basis=("D" "T" "Q" "5" "6")
ecp=ccECP       # ECP name

ls *.${ecp}*

for k in "${basis[@]}"
do
        ls *.cc-pV${k}*
done

for k in "${basis[@]}"
do
        ls *.cc-pCV${k}*
done

for k in "${basis[@]}"
do
        ls *.aug-cc-pV${k}*
done

for k in "${basis[@]}"
do
        ls *.aug-cc-pCV${k}*
done

CEPP and eCEPP nomenclature will have to be changed to be consistent.

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

No branches or pull requests

2 participants