Skip to content

[Literature] Improving get_biblatex.py functionality #652

@michellestegem

Description

@michellestegem

Original topic:
The get_biblatex.py code currently accepts the bibfile as a string and returns new bibitems as string. For the flow of the code when updating the bib file automatically it would be smoother if it would make use of the read_bibfile method from processbib.py where the bibfile is given as a list of BibEntry objects which have keys and various fields.

Comment Dre:
I have created a new branch "dev_dre" in the Literature repo. Here, I have made some changes to at least make the get_biblatex.py code to accept the bibfile as a list of BibEntries instead of a string. @marinadamato I have tested this code but could you also test this during the next Literature update?

We still have to change how the new items are added to the .bib file as this still depends on a string format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions