-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move default database providers defaults setup parameters to one file (…
…#449) Move default database providers defaults setup parameters to one file. - Change the Materials Cloud DB the groupings and the sub-DB name. - Moving providers has no DB to skip list and keep disable list for not yet supported providers. Co-authored-by: Casper Welzel Andersen <43357585+CasperWA@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
78 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
"""Default initialization parameters | ||
The lists are set, based on the status of providers from | ||
https://www.optimade.org/providers-dashboard/. | ||
If the provider has no available databases, it should be put into the SKIP_PROVIDERS list, | ||
meaning it will not be supported. | ||
Providers in the DISABLE_PROVIDERS list are ones the client should support, | ||
but cannot because of one issue or another. | ||
""" | ||
|
||
SKIP_PROVIDERS = [ | ||
"exmpl", | ||
"optimade", | ||
"aiida", | ||
"ccpnc", | ||
"matcloud", | ||
"necro", | ||
"httk", | ||
"pcod", | ||
] | ||
|
||
DISABLE_PROVIDERS = [ | ||
"cod", | ||
"tcod", | ||
"nmd", | ||
"oqmd", | ||
"aflow", | ||
"mpds", | ||
"jarvis", | ||
] | ||
|
||
PROVIDER_DATABASE_GROUPINGS = { | ||
"Materials Cloud": { | ||
"Main Projects": ["mc3d", "mc2d"], | ||
"Contributed Projects": [ | ||
"2dtopo", | ||
"pyrene-mofs", | ||
"scdm", | ||
"stoceriaitf", | ||
"tc-applicability", | ||
"tin-antimony-sulfoiodide", | ||
"curated-cofs", | ||
], | ||
} | ||
} | ||
|
||
|
||
SKIP_DATABASE = { | ||
"Materials Cloud": ["optimade-sample", "li-ion-conductors", "sssp"], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters