Skip to content

Commit 8de633a

Browse files
committed
update provider fetch - filter out missing base_url
1 parent 3a94866 commit 8de633a

5 files changed

Lines changed: 89 additions & 167 deletions

File tree

package-lock.json

Lines changed: 71 additions & 144 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/cachedProviders.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
"attributes": {
125125
"name": "Materials Cloud",
126126
"description": "A platform for Open Science built for seamless sharing of resources in computational materials science",
127-
"base_url": "https://optimade.materialscloud.org/main/",
127+
"base_url": "https://www.materialscloud.org/optimade/main",
128128
"homepage": "https://www.materialscloud.org",
129129
"link_type": "external"
130130
}

src/App.jsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,12 @@ import "./index.css";
88
// current known bad providers.
99
const badProviders = [
1010
"exmpl", // example provider shouldnt be shown.
11-
"aiida", // base_url is null...
1211
"aflow", // returns a 500 error.
13-
"ccdc", // base_url is null...
14-
"ccpnc", // base_url is null...
15-
//"cmr", - is fine but has weird data.
16-
"httk", // base_url is null...
1712
"matcloud", // child endpoint doesnt work or return properly?
18-
"mpds", // behind a paywall - should skip i guess.
13+
"mpds", // behind a paywall
1914
"mpod", // url seems to be down at the moment - skip.
2015
"optimake", // not an actual provider
2116
"optimade", // not an actual provider
22-
"pcod", // base_url is null...
23-
"psdi", // base_url is null...
2417
];
2518

2619
function App() {
@@ -31,6 +24,7 @@ function App() {
3124
activeSection="work"
3225
breadcrumbsPath={[
3326
{ name: "Work", link: "https://www.materialscloud.org/work" },
27+
{ name: "Tools", link: "https://www.materialscloud.org/work/tools" },
3428
{ name: "OPTIMADE-Client", link: null },
3529
]}
3630
/>

0 commit comments

Comments
 (0)