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

Corrigir defeito ao criar o formato crossref deste XML (get_one_contributor) #550

Open
robertatakenaka opened this issue Feb 4, 2024 · 0 comments
Assignees
Labels

Comments

@robertatakenaka
Copy link
Member

robertatakenaka commented Feb 4, 2024

Descrição do problema

Corrigir defeito ao criar o formato crossref deste XML

https://www.scielo.br/j/rm/a/3Y5KBTsDh7xStBw7FWHbvVd/?lang=en&format=xml

["  File \"/app/article/models.py\", line 741, in generate
    content = function_generate_format(xmltree, data=data)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              ", "  File \"/usr/local/lib/python3.11/site-packages/packtools/sps/formats/crossref.py\", line 517, in pipeline_crossref
    xml_crossref_articlecontributors_pipe(xml_crossref, xml_tree)
    ", "  File \"/usr/local/lib/python3.11/site-packages/packtools/sps/formats/crossref.py\", line 1225, in xml_crossref_articlecontributors_pipe
    person_name = get_one_contributor(seq, author)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ", "  File \"/usr/local/lib/python3.11/site-packages/packtools/sps/formats/crossref.py\", line 482, in get_one_contributor
    affiliation.text = \", \".join(
                       ^^^^^^^^^^
                       "]
@robertatakenaka robertatakenaka changed the title Correção Corrigir defeito ao criar o formato crossref deste XML (get_one_contributor) Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants