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

Use controlled vocabularies for I1-01* #223

Draft
wants to merge 1 commit into
base: release/3.0.0
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions plugins/epos/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def __init__(self, item_id, oai_base=None, lang="en", config=None, name="epos"):

logger.debug("Using FAIR-EVA's plugin: %s" % self.name)

# Config attributes
# Config attributes: Plugin
self.terms_map = ast.literal_eval(self.config[self.name]["terms_map"])
self.metadata_access_manual = ast.literal_eval(
self.config[self.name]["metadata_access_manual"]
Expand Down Expand Up @@ -1175,7 +1175,7 @@ def rda_a2_01m(self, return_protocol=False, **kwargs):

return (points, msg_list)

@ConfigTerms(term_id="terms_cv", validate=True)
@ConfigTerms(term_id="controlled_vocabularies", validate=True)
def rda_i1_01m(self, **kwargs):
"""Indicator RDA-I1-01M: Metadata uses knowledge representation expressed in standarised format.

Expand All @@ -1197,7 +1197,7 @@ def rda_i1_01m(self, **kwargs):

return (_points, [{"message": _msg, "points": _points}])

@ConfigTerms(term_id="terms_reusability_richness", validate=True)
@ConfigTerms(term_id="controlled_vocabularies", validate=True)
def rda_i1_01d(self, **kwargs):
"""Indicator RDA-I1-01D: Data uses knowledge representation expressed in standarised format.

Expand Down
Loading