SPARC-FAIR-Codeathon / sparc-me

A python tool to explore, enhance, and expand SPARC datasets and their descriptions
Apache License 2.0
7 stars 6 forks source link

Add Classs Metaddata() for metadata CRUD #92

Closed LinkunGao closed 1 year ago

LinkunGao commented 1 year ago

Description:

Describe what changes you are adding

Test Environment:

Specify the testing enviroment. e.g. OS, Python version

LinkunGao commented 1 year ago

dataset_description.clear_values() has two use modes:

  1. use dataset_description.clear_values() with no params:
    • This will remove all field values, and go back to the default Excel file.
  2. use dataset_description.clear_values(field_name='Contributor role') with field_name param:
    • This will remove all values in Contributor role element