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

Draft: support for other Pseudopotential + downloader #6

Open
wants to merge 53 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
b716c4b
WIP
addman2 Sep 3, 2021
9ba1215
WIP
addman2 Sep 7, 2021
141261c
WIP
addman2 Sep 8, 2021
440796c
WIP Gamess pseudo reader almost works
addman2 Sep 8, 2021
a2ceabf
WIP
addman2 Sep 21, 2021
9e6089b
Add PP type when dumping list if PPs
addman2 Sep 21, 2021
d6498ef
Rename new PPs again. Minor changes.
addman2 Sep 22, 2021
4691b81
Fix corrupted tests. For strange reasons retrieved PPs were in differ…
addman2 Sep 22, 2021
dbb3f59
Fix small error in Pseudopotenial.get, giving support for other types…
addman2 Sep 22, 2021
0fa7090
Add duplicate handling for ECPs
addman2 Sep 22, 2021
2a5d003
Add first from_gamess tester
addman2 Sep 22, 2021
1fdb5f5
Merge branch 'frenzy_features' into data-fetcher
addman2 Sep 23, 2021
e156d63
WIP
addman2 Sep 23, 2021
cdcbfdd
Get rid of the ridiculous lineliner in libraries.py
addman2 Sep 24, 2021
63425d0
Add different formater for import tables
addman2 Sep 24, 2021
76f9358
WIP
addman2 Sep 24, 2021
ac4ec26
Merge branch 'data-fetcher' into frenzy_features
addman2 Sep 24, 2021
f3ee4c0
Change importter to import basis from nwchem. Problem with gamess format
addman2 Sep 24, 2021
6cdd5d1
Merge branch 'data-fetcher' into frenzy_features
addman2 Sep 24, 2021
04cffdf
WIP
addman2 Sep 24, 2021
506664f
Forgot to add __init__.py
addman2 Sep 24, 2021
188fe1d
Add nwchem loader for basis
addman2 Sep 25, 2021
89eb2c3
Merge branch 'nwchem-import-basis' into data-fetcher
addman2 Sep 25, 2021
24b4c55
WIP
addman2 Sep 25, 2021
f3e89c5
WIP
addman2 Sep 27, 2021
843dbb6
WIP
addman2 Sep 28, 2021
61cf7eb
WIP
addman2 Sep 28, 2021
b1c13f5
Add NWCHEM writer for basis
addman2 Sep 29, 2021
c4d6c60
Add GAMESS format writer for basis
addman2 Sep 29, 2021
0c36790
Add non unique version of BasisSet for basis set operations
addman2 Sep 30, 2021
99b9b88
Change the order of stored function. In Gamess format the order is un…
addman2 Sep 30, 2021
c722b7d
Add writer for turborvb format, fix an error in gamess format writer
addman2 Sep 30, 2021
cdfd800
Add job for uncontraction
addman2 Oct 1, 2021
4957c50
Add Uniqness test to basis sets imported via from_gamess
addman2 Oct 1, 2021
b9fd2a6
Rename MitasLibrary to QmcpackLibrary
addman2 Oct 1, 2021
7283a73
Add force-ignore option
addman2 Oct 1, 2021
79c42c4
Update setup.json
addman2 Oct 1, 2021
9d9e05a
Fix naming convention for pseudo
addman2 Oct 1, 2021
170aa3f
Fix small typo
addman2 Oct 1, 2021
7c78e9e
Add version controling based on commit hashes
addman2 Oct 1, 2021
2f69d24
Changed version controling. Now the version number is the serial numb…
addman2 Oct 1, 2021
2e05946
Fix bad PP generation for TurboRVB, and others
Dec 13, 2021
bff0871
Add automatic tolerance detection
addman2 Feb 23, 2022
a7d96fa
WIP
Feb 23, 2022
7370aac
should work
Mar 3, 2022
04d7a0c
UPD cli
Mar 3, 2022
4a9120c
Merge branch 'filippi_database' into development_trvb
Mar 3, 2022
4d39448
Clean uncontract
Apr 27, 2022
3165498
Clean pseudopotential
Apr 27, 2022
4cd04e0
Fix bugs in BFD dowloader
Apr 29, 2022
382cda1
Merge branch 'develop' into development_trvb
addman2 Nov 8, 2022
24e729d
Supress warning
addman2 Nov 8, 2022
3f79b28
Fix warning and errors in tests
addman2 Nov 9, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions aiida_gaussian_datatypes/basisset/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def cli():
multiple=True,
help="filter by a tag (all tags must be present if specified multiple times)")
@click.option(
'fformat', '-f', '--format', type=click.Choice(['cp2k']), default='cp2k',
'fformat', '-f', '--format', type=click.Choice(['cp2k',
'nwchem']), default='cp2k',
help="the format of the basis set file")
@click.option(
'--duplicates',
Expand All @@ -92,6 +93,8 @@ def import_basisset(basisset_file, fformat, sym, tags, duplicates, group):

loaders = {
"cp2k": BasisSet.from_cp2k,
"nwchem": BasisSet.from_nwchem,
"gaussian": BasisSet.from_gaussian,
}

filters = {
Expand Down Expand Up @@ -176,7 +179,7 @@ def list_basisset(sym, name, tags):
help="filter by name")
@click.option('tags', '--tag', '-t', multiple=True,
help="filter by a tag (all tags must be present if specified multiple times)")
@click.option('output_format', '-f', '--format', type=click.Choice(['cp2k', ]), default='cp2k',
@click.option('output_format', '-f', '--format', type=click.Choice(['cp2k', 'nwchem', 'gamess',]), default='cp2k',
help="Chose the output format for the basiset: " + ', '.join(['cp2k', ]))
# fmt: on
@decorators.with_dbenv()
Expand All @@ -191,6 +194,8 @@ def dump_basisset(sym, name, tags, output_format, data):

writers = {
"cp2k": BasisSet.to_cp2k,
"nwchem" : BasisSet.to_nwchem,
"gamess" : BasisSet.to_gamess,
}

if data:
Expand Down
Loading