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

Update MP provider #23

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
34 changes: 34 additions & 0 deletions src/index-metadbs/mp/v1/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"data" : {
"attributes" : {
"available_api_versions" : [
{
"version" : "1.0.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"version" : "1.0.0",
"version" : "1.0.0-rc.2",

"url" : "http://providers.optimade.org/index-metadbs/mp/v1/"
}
],
"is_index" : true,
"formats" : [
"json"
],
"entry_types_by_format" : {
"json" : []
},
"available_endpoints" : [
"info",
"links"
],
"api_version" : "v1.0.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"api_version" : "v1.0.0"
"api_version" : "1.0.0-rc.2"

},
"type" : "info",
"relationships" : {
"default" : {
"data" : {
"id" : "mp",
"type" : "links"
}
}
},
"id" : "/"
}
}
26 changes: 26 additions & 0 deletions src/index-metadbs/mp/v1/links.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"data" : [
{
"id" : "exmpl",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"id" : "exmpl",
"id" : "mp",

"type" : "links",
"attributes" : {
"name": "Materials Project",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"name": "Materials Project",
"name": "The Materials Project",

"description": "The Materials Project: A database of computed materials properties for the discovery and design of novel materials.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description": "The Materials Project: A database of computed materials properties for the discovery and design of novel materials.",
"description": "A database of computed materials properties for the discovery and design of novel materials.",

"base_url": "https://optimade.materialsproject.org",
"homepage": "https://materialsproject.org",
"link_type": "child"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"link_type": "child"
"link_type": "external"

}
},
{
"id" : "optimade-providers",
"type" : "links",
"attributes" : {
"name": "OPTIMADE Providers Index Meta-Database",
"description": "The list of OPTIMADE providers maintained by Materials-Consortia",
"base_url": "https://providers.optimade.org",
"homepage": "https://www.optimade.org",
"link_type": "providers"
}
}
]
}
8 changes: 4 additions & 4 deletions src/links/v1/providers.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@
"type": "links",
"id": "mp",
"attributes": {
"name": "materialsproject.org",
"description": "",
"base_url": null,
"homepage": null,
"name": "Materials Project",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"name": "Materials Project",
"name": "The Materials Project",

"description": "The Materials Project: A database of computed materials properties for the discovery and design of novel materials.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description": "The Materials Project: A database of computed materials properties for the discovery and design of novel materials.",
"description": "A database of computed materials properties for the discovery and design of novel materials.",

"base_url": "http://providers.optimade.org/index-metadbs/mp",
"homepage": "https://materialsproject.org",
"link_type": "external"
}
},
Expand Down