-
Notifications
You must be signed in to change notification settings - Fork 47
Hotfix/umontreal #516
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
Merged
erinspace
merged 8 commits into
CenterForOpenScience:master
from
kms6bn:hotfix/umontreal
May 18, 2016
Merged
Hotfix/umontreal #516
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
bf08e7b
add test for one harvester
kms6bn 3af2e6d
Merge pull request #478 from kms6bn/feature/invoke_one_test
erinspace 00541ee
add invoke clear to remove provider information from elasticsearch
kms6bn fadb881
Merge pull request #484 from kms6bn/feature/add_clear_task
erinspace f97eae2
Merge branch 'master' of https://github.com/centerforopenscience/scrapi
kms6bn 214ffa2
fix date so nonetype error no longer occurs
kms6bn f5c11c9
remove updates to tasks.py
kms6bn dc2be43
flake8 changs
kms6bn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the original schema, each item in the languages array is transformed to a ISO 639-3 code, for example, 'English' becomes 'eng' and 'Russian' becomes 'rus'. I checked the source and it seems that they were not correctly coded (for example it uses 'en' instead of 'eng'). There is a function get_code in helpers.py that can do that for you. Can you implement it in your function to return the correct code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Below is the description in the schema:
You can find all the tags here: https://www.loc.gov/standards/iso639-2/php/code_list.php
It is my understanding that the tags are correct - en maps to English and fr maps to French
Can you confirm that this still needs to be done?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jeffreyliu3230 This is ready to merge, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh good find! Yes this should be ready to merge.