[Cod-bugs] Optimade question
Andrius Merkys
andrius.merkys at gmail.com
Wed Apr 13 17:40:29 EEST 2022
Hello,
On 2022-04-13 17:31, Robert Hanson wrote:
> On Tue, Apr 12, 2022 at 7:58 AM Robert Hanson <hansonr at stolaf.edu
> <mailto:hansonr at stolaf.edu>> wrote:
> I have a question for you. When I issue this request:
>
> https://www.crystallography.net/cod/optimade/structures?filter=nelements=6&page_limit=2
> <https://www.crystallography.net/cod/optimade/structures?filter=nelements=6&page_limit=2>
>
> I get a circular reference:
>
> image.png
>
> with
> https://www.crystallography.net/cod/optimade/v1.1.0/structures/1000096
> <https://www.crystallography.net/cod/optimade/v1.1.0/structures/1000096>
> having the same link -- to itself!
Yes, this is intentional. "self" is supposed to be a link to the record
itself per OPTIMADE specification, I believe.
> I was hoping for a reference to a cif file. :)
>
> Q: Is this the way OPTIMADE is supposed to work? Or is there a
> problem with COD's implementation?
Support for links to files is not yet in the OPTIMADE specification. It
has a long standing feature request, though [1].
[1] https://github.com/Materials-Consortia/OPTIMADE/issues/211
Best wishes,
Andrius
--
Andrius Merkys
Vilnius University Institute of Biotechnology, Saulėtekio al. 7
LT-10257 Vilnius, Lithuania
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Cod-bugs
mailing list