#8 FRSM-07-F3 software metadata include identifier #44
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.
Description
Implementation of the metric FRSM-07-F3: Does the software metadata include the identifier of the software it describes?
The metric tests include:
Checks if the README file contains a zenodo DOI
Checks if the CITATION file contains a zenodo DOI
Checks if the found related_identifiers from README or CITATION file resolve to the same instance of the software
Checks if a given DOI (pid_url) resolves to the same instance of the software
Checks if zenodo metadata from given DOI fetched from zenodo api contains related_identifiers with GitHub link
Related issue: #8
Motivation and context
This implements the metric FRSM-07-F3 which is essential for the usage of fuji
How has this been tested?
Tested with multiple urls and docker environment. My code is not affecting other metrics.
Screenshots (if appropriate)
Metric FRSM-07-F3 with url: https://github.com/pangaea-data-publisher/fuji
Types of changes
Checklist