Skip to main content

A package designed to put a spreadsheet of a brain imagery dataset into a series of required metadata validation for within data in 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:

  1. Setup Virtual environment for package dependencies on command line Linux Interface within desired directory

    • $ python3 -m venv venv_for_package
  2. Activate Virtual Environment

    • $ source venv_for_package/bin/activate
  3. 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.

  1. Get to Python3 Shell Command Line

    • $ python3
  2. Import package from Linux directory to Python3 shell

    • >>> import metadata_validator
  3. 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

  1. 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.

  1. 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

metadata_validator-0.1.5.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

metadata_validator-0.1.5-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file metadata_validator-0.1.5.tar.gz.

File metadata

  • Download URL: metadata_validator-0.1.5.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

Hashes for metadata_validator-0.1.5.tar.gz
Algorithm Hash digest
SHA256 54151a80338e0e0297291104211fe49dfa27d3e5e95a687ec06c7e53ac9ca410
MD5 654ae10c8559f3b8107432b130588e07
BLAKE2b-256 ee832f2f74f679eb84a2f38b21f9c418f25213a171b0812347e4c0a30b1e56bb

See more details on using hashes here.

File details

Details for the file metadata_validator-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for metadata_validator-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 56b60b469878da60a4c4bdcd26aa2e4e8b9e56709d980125f9bf70c67c163ecb
MD5 b38de25dab0bc004b3fb67a5a41c32bf
BLAKE2b-256 d619360088e96514443954dda9851613d439824e06912db277af5526cb6ab144

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page