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

Fix attribution display in pick_phylopic #105

Merged
merged 4 commits into from
Mar 12, 2024
Merged

Conversation

LewisAJones
Copy link
Collaborator

This PR fixes bug #104, which results in attribution information not being displayed in the pick_phylopic interactive menu. To enable tests to catch such a bug in the future, I've added an additional test. This test relies on an update to the auto argument which allows a list of the attribution information to be directly returned.

Fixes #104.

@LewisAJones LewisAJones requested a review from willgearty March 12, 2024 07:53
@LewisAJones LewisAJones self-assigned this Mar 12, 2024
@LewisAJones LewisAJones linked an issue Mar 12, 2024 that may be closed by this pull request
Copy link
Collaborator

@willgearty willgearty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great, thanks @LewisAJones!

NEWS.md Outdated
@@ -2,6 +2,7 @@

* Added add_phylopic_legend (#83)
* Added permalink generation option to get_attribution (#81)
* Fix pick_phylopic attribution display bug (#104)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it be reported in NEWS.md if we introduced the bug and fixed the bug between releases?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe not, I guess many users don't use the development version?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I doubt many people do, and I think this might just cause more confusion for those that don't (not that too many people are going to read the changelog anyways).

@LewisAJones LewisAJones merged commit bcc0d8f into main Mar 12, 2024
11 checks passed
@LewisAJones LewisAJones deleted the 104-pick_phylopic-att branch March 12, 2024 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pick_phylopic no longer prints attribution information in menu
2 participants