Skip to content
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

account for puplished registrations on the retrive metadata for zenodo #192

Merged
merged 4 commits into from
Sep 14, 2023

Conversation

sblack-usu
Copy link
Contributor

@sblack-usu sblack-usu commented Sep 12, 2023

This change requires a new environment variable.
ZENODO_PUBLISHED_READ_URL=https://zenodo.org/api/records/%s

@github-actions
Copy link

github-actions bot commented Sep 12, 2023

✅ Result of Pytest Coverage

---------- coverage: platform linux, python 3.10.13-final-0 ----------

Name Stmts Miss Cover
dspback/init.py 0 0 100%
dspback/api.py 41 2 95%
dspback/config/init.py 88 1 99%
dspback/database/init.py 0 0 100%
dspback/database/procedures.py 17 1 94%
dspback/dependencies.py 127 29 77%
dspback/main.py 26 26 0%
dspback/pydantic_schemas.py 252 11 96%
dspback/routers/init.py 0 0 100%
dspback/routers/authentication.py 63 30 52%
dspback/routers/discovery.py 161 131 19%
dspback/routers/earthchem.py 90 52 42%
dspback/routers/external.py 38 1 97%
dspback/routers/hydroshare.py 116 75 35%
dspback/routers/metadata_class.py 47 11 77%
dspback/routers/repository_authorization.py 42 6 86%
dspback/routers/submissions.py 39 3 92%
dspback/routers/zenodo.py 82 44 46%
dspback/scheduler.py 38 17 55%
dspback/schemas/init.py 0 0 100%
dspback/schemas/discovery.py 67 1 99%
dspback/schemas/earthchem/init.py 0 0 100%
dspback/schemas/earthchem/model.py 207 0 100%
dspback/schemas/external/model.py 103 0 100%
dspback/schemas/hydroshare/model.py 115 0 100%
dspback/schemas/jsonld_conversion.py 22 22 0%
dspback/schemas/zenodo/init.py 0 0 100%
dspback/schemas/zenodo/model.py 90 0 100%
dspback/triggers.py 56 56 0%
dspback/utils/jsonld/clusters.py 16 0 100%
dspback/utils/jsonld/formatter.py 58 13 78%
dspback/utils/jsonld/scraper.py 35 25 29%
TOTAL 2036 557 73%
================== 69 passed, 3

@sblack-usu sblack-usu merged commit 90284d2 into develop Sep 14, 2023
@sblack-usu sblack-usu deleted the zenodo_published_read branch September 14, 2023 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant