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

Deprecate get_mvb_term() #88

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

Deprecate get_mvb_term() #88

wants to merge 28 commits into from

Conversation

sannegovaert
Copy link
Member

@sannegovaert sannegovaert commented Aug 22, 2024

fix #85

fix #60

The new (not-accepted) snapshot is different from the previous snapshot because of a different way to handle attributes that have been merged.
move2::movebank_get_vocabulary returns the updated name, while get_mvb_term() returns the original term with the message "This attribute has been merged with 'x'."

There are 3 case studies:

image

@sannegovaert sannegovaert marked this pull request as ready for review August 22, 2024 10:30
@peterdesmet
Copy link
Member

Blocked by #60 (comment)

- Use reference data as default (smaller to download)
- Don't check for existence of file (snapshot does that)
- Don't check for doi (is frictionless)
- Add reference data, then gps
Copy link

codecov bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.93%. Comparing base (09b892c) to head (ce17b11).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #88      +/-   ##
==========================================
+ Coverage   87.98%   97.93%   +9.95%     
==========================================
  Files          10       10              
  Lines         566      582      +16     
==========================================
+ Hits          498      570      +72     
+ Misses         68       12      -56     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

add tests for add_resource() Deprecate get_mvb_term()
2 participants