A package designed to put a spreadsheet of a brain imagery dataset into a series of required metadata and validation for data within cells.
Project description
Metadata Validation Package
About
The metadata validation package is meant for the use of the Brain Image Library. The metadata dependencies match the required checkpoints for the submission of an Excel spreadsheet. The spreadsheet needs to match required criteria for a brain imagery dataset with supporting information.
Instructions on Installation
The steps to correctly install the package to a Linux system are:
Setup Virtual environment for package dependencies on command line Linux Interface within desired directory
- $ python3 -m venv venv_for_package
Activate Virtual Environment
- $ source venv_for_package/bin/activate
Move into desired directory for package to pip install Metadata Validation Package
- $ pip install metadata_validator
Using Metadata Validation Package
To start using the Metadata Validation package, the directory that the package was installed to has to be current directory path. The spreadsheet that is being checked will be located in this same directory as well for easy use of the package. The spreadsheet can also be placed in a different directory within the Linux system, but the first option is recommended.
Get to Python3 Shell Command Line
- $ python3
Import package from Linux directory to Python3 shell
- >>> import metadata_validator
Run function from package for metadata validation
- >>> metadata_validator.outside_bil_check()
After running this command, the package will begin to operate and ask the user for an input of an absolute pathway to a excel spreadsheet
Give desired spreadsheet path
Method 1: >>> current_directory/spreadsheet.xlsx
Method 2: >>> ~/path_to_spreadsheet/spreadsheet.xlsx
This will prompt a choice of a Ingest Method for different checks of different sheets within file.
Give Ingest Method
- Choice of a number one through five
Once completed, the package will sift through different sheets within the spreadsheet checking metadata for valid inputs of information.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file metadata_validator-0.1.3.tar.gz
.
File metadata
- Download URL: metadata_validator-0.1.3.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 209dcd2f7d8894c9e5c18c2eade0b27049acbff5ed6ba400efa48e2d67f4c955 |
|
MD5 | 6fc36ded5a864c74a1e46a9b4068cad8 |
|
BLAKE2b-256 | c9ee88036c3eb68e1be586a5459ddab1d5f492763b996bb6f8921621e910e02a |
File details
Details for the file metadata_validator-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: metadata_validator-0.1.3-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21bdae90ba880b591677063d34624dce985f9f763e45ba8868fedbdd892934e5 |
|
MD5 | 5eeac2852a152c93104cb3fef5fb5484 |
|
BLAKE2b-256 | ee6262554df92304a16e610d8bf2d322aab2335995966bf277f9c45ba943571d |