Garden-AI / garden

https://garden-ai.readthedocs.io
MIT License
21 stars 4 forks source link

Bugfix: Send correct URL to Datacite on `garden register-doi` #477

Closed hholb closed 5 months ago

hholb commented 5 months ago

Fixes #474

Overview

Send datacite the correctly formatted URL when registering a doi.

Testing

Added a new unit test in test/test_client.py to verify the URL is correct.


📚 Documentation preview 📚: https://garden-ai--477.org.readthedocs.build/en/477/

codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.73%. Comparing base (cb448fb) to head (682b8c6). Report is 23 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #477 +/- ## ========================================== + Coverage 76.43% 76.73% +0.29% ========================================== Files 51 52 +1 Lines 3421 3465 +44 ========================================== + Hits 2615 2659 +44 Misses 806 806 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.