Garden-AI / garden

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

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

Closed hholb closed 1 month ago

hholb commented 1 month 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 1 month 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 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

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.