templateflow / python-client

A python client to query TemplateFlow via pyBIDS
https://templateflow.org/python-client/
Apache License 2.0
8 stars 12 forks source link

doi2bib has broken our tests #75

Closed oesteban closed 2 years ago

oesteban commented 2 years ago

As @yarikoptic reported over email some days ago:

direct query does return journal (and better "id")

        $> curl --silent -L -d "" --header "Accept: application/x-bibtex; charset=utf-8" https://doi.org/10.1371/journal.pone.0018746
        @article{Shi_2011,
                doi = {10.1371/journal.pone.0018746},
                url = {https://doi.org/10.1371%2Fjournal.pone.0018746},
                year = 2011,
                month = {apr},
                publisher = {Public Library of Science ({PLoS})},
                volume = {6},
                number = {4},
                pages = {e18746},
                author = {Feng Shi and Pew-Thian Yap and Guorong Wu and Hongjun Jia and John H. Gilmore and Weili Lin and Dinggang Shen},
                editor = {Hitoshi Okazawa},
                title = {Infant Brain Atlases from Neonates to 1- and 2-Year-Olds},
                journal = {{PLoS} {ONE}}
        }%   

and journal entry is formatted correctly (has leading {)