Skip to content

Conversation

GuillaumeBroggi
Copy link
Contributor

#330 introduces an id type filtering to restrict sources, for instance, to doi, as discussed in #327

However, get_safe always returns an empty string, even if _id is None after filtering. Consequently, a filtered-out citation will be processed as not citable by manubot, given the current logic, and result in an entry in citations.yaml. This behavior seems wrong.

This PR proposes a quick fix by simply checking that id_type and id_value are not empty. Feel free to use it.

  • I have updated CITATION and CHANGELOG as appropriate.
  • I have updated lab-website-template-docs as appropriate.
  • I have checked the testbed as appropriate.

Copy link

github-actions bot commented Aug 19, 2025

PR Preview Action v1.4.7
🚀 Deployed preview to https://greenelab.github.io/lab-website-template/preview/pr-332/
on branch gh-pages at 2025-08-19 15:16 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants