Skip to content
Snippets Groups Projects
Select Git revision
  • 9009408e086e3d1d781530c859746a2401591b7b
  • main default protected
2 results

MC_MSA

Name Last commit Last update
.idea
BIDSHandler
doc
README.md
requirements.txt

BIDS Handler

This project is a Python application that handles Brain Imaging Data Structure (BIDS) datasets. It provides tools for creating, viewing, and validating BIDS datasets.

Features

  • Viewing Tool: Allows you to view the structure and content of a BIDS dataset. (Currently only displays edf files)
  • Creation Tool: Helps you to create a new BIDS dataset or modify an existing one. (Currently only creates eeg datasets)
  • BIDS Validator: Opens a web browser at the BIDS Validator website to validate a BIDS project.

Installation

This project requires Python 3.7 or later. You can download Python from here.

After installing Python, you can clone this repository to your local machine using the following command:

git clone https://gitlab.cristal.univ-lille.fr/atoumji/python-project-start.git

Then, navigate to the project directory:

cd BIDSHandler

Required Python Modules

The required Python modules are listed in the requirements.txt file. You can install them using the following command:

pip install -r requirements.txt

Usage

To run the application, navigate to the project directory and run the MainApplication.py script:

cd BIDSHandler
python main.py

Creation tool

To use the creation tool, you will need to have edf experiment files ready. You can also have sidecar already created for the edf files, if not the tool will help you create them.

The creation tool follow 4 steps:

  1. Select the name of the dataset, the root directory and the base files you want to create.
  2. Create the dataset and the base files.
  3. Integrate the edf files into the dataset.
  4. Integrate or create the sidecar files for the edf files.

Viewing tool

To use the viewing tool, you will need to have a BIDS dataset ready. The viewing tool will display the content of the dataset in a tree view at the left of the window. You can select a file to display its content in the right part of the window.

BIDS Validator

To use the BIDS Validator, you will need to have a BIDS dataset ready. The BIDS Validator will open a web browser at the BIDS Validator website. You will need to upload your dataset to the website to validate it. The BIDS Validator will check if your dataset is compliant with the BIDS standard and will display the results in the web browser.

Contributing

TODO

License

TODO