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

Implement a ``get_citation`` #33

Closed oesteban closed 4 years ago

oesteban commented 4 years ago
def get_citation(template, bibtex=False) -> list:
    ...
    return citations

The idea is to be able to generate template information in boilerplates automatically.

mgxd commented 4 years ago

Looking more into this, there is potential to automate this process.

Each template contains a template_description.json with the necessary information tucked into 2 fields,HowToAcknowledge and ReferencesAndLinks (Example 1, Example 2). Currently, there is no standard for HowToAcknowledge, making it difficult to automatically extract the correct entries in ReferencesAndLinks.

By either setting a standard, or adding a new field (RequiredReferencesIndexes?) to hold indexes of required references, it should make it much easier to implement the above