-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add final set of Datacite field methods (#189)
* Add final set of Datacite field methods Why these changes are being introduced: * Finish refactoring Datacite transform to use field methods How this addresses that need: * Add field methods and associated private methods for notes, publishers, related_items, rights, subjects, and summary * Add unit tests for new field methods Side effects of this change: * None Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/TIMX-284 * Updates based on discussion in PR #189 * Remove unnecessary list pattern from get_content_types, get_languages, and get_publishers methods * Refactor _get_description_notes method to remove unnecessary var and add description_type var * Refactor get_subjects method to use defaultdict
- Loading branch information
Showing
2 changed files
with
286 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.