-
Notifications
You must be signed in to change notification settings - Fork 2
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
[#118] Zenodo migration #196
Conversation
Maurier
commented
Oct 27, 2023
- Adds a script that can be used to fetch Zenodo's licenses controlled vocabulary and apply changes to our schema file.
- Updates Zenodo schema with new licenses as part of their recent migration.
✅ Result of Pytest Coverage---------- coverage: platform linux, python 3.10.13-final-0 ----------
|
|
||
# Override the file | ||
with open("../schemas/zenodo/schema.json", "w") as f: | ||
f.write(json.dumps(schema, indent=2)) |
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.
So the updated zenodo/schema.json file is the result from running this script?
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.
Correct.