Upload to Dataverse#

PyEnzyme offers the upload to any Dataverse installation that supports the official EnzymeML metadatablock by utilizing the Dataverse API PyDaRUS to map all relevant fields and perform upload. The following steps will be done in this example:

  • Convert an EnzymeML spreadsheet to an EnzymeMLDocument

  • Upload the dataset to Dataverse

import pyenzyme as pe
# Load the EnzymeMLDocument
enzmldoc = pe.EnzymeMLDocument.fromTemplate("EnzymeML_Template_Example.xlsm")
# Upload it to Dataverse (Dataset is private)
enzmldoc.uploadToDataverse(dataverse_name="playground")

For reasons of data quality, the resulting dataset cant be viewed on the web. In order to visit examples that have utilized the method, see the EnzymeML at Work collection.