Skip to content

Conversation

@JaZoll-zbw
Copy link

Description

I changed the value for the resource_type from "Other" to "other", because invenio needs a lowercase letter and in the other two cases "other" (line 49 and 98) is written with lowercase letters

Related Issue

I did not open a issue for this.

Example

# Add the path of commonmeta-py to sys.path
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), 'commonmeta-py')))
import commonmeta as commonmeta
# DOI from datacite of the website https://journaldata.zbw.eu
doi = "10.15456/j1.2025210.1943358304"
metadata_obj = commonmeta.metadata.Metadata(doi, via = "datacite")
# Control if the data are right
metadata_datacite = metadata_obj.write(to = "datacite")
print(metadata_datacite)
# Convert the data to invenio rdm format
metadata_inveniordm = metadata_obj.write(to = "inveniordm")
print(metadata_inveniordm)

@netlify
Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for commonmeta-py canceled.

Name Link
🔨 Latest commit f316eee
🔍 Latest deploy log https://app.netlify.com/projects/commonmeta-py/deploys/689c3bd2eac5560008aa6e88

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