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

Modify manifest file when data is added programmatically #84

Closed savindi-wijenayaka closed 1 year ago

savindi-wijenayaka commented 1 year ago

Description:

Add modification to the file adding functionality to modify the manifest file when a file is added.

File structure:

primary
     |_ subject1
            |_ sample1
                   |_ data.xlsx --> data being added
                   |_ manifest.xlsx --> being edited/created
     |_ subject2
            |_ sample1
                   |_ data.xlsx --> data being added
                   |_ manifest.xlsx --> being edited/created
derivatives
     |_ subject1
            |_ sample1
                   |_ data.xlsx --> data being added
                   |_ manifest.xlsx --> being edited/created
     |_ subject2
            |_ sample1
                   |_ data.xlsx --> data being added
                   |_ manifest.xlsx --> being edited/created

File formats of manifest being considered:

Related issue(s):

80

Test Environment:

Ubuntu 20.04 Python 3.9.12