Skip to content

Commit

Permalink
mention validator
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Dec 17, 2023
1 parent 2c7aa00 commit b8057dd
Show file tree
Hide file tree
Showing 21 changed files with 91 additions and 61 deletions.
52 changes: 0 additions & 52 deletions .github/workflows/jekyll-gh-pages.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/publishdocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Publish docs via GitHub Pages
on:
push:
branches:
- main

jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v4

- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Documentation related to BIDS.
- The [FieldTrip](https://www.fieldtriptoolbox.org/example/bids/) websites contains
many BIDS tips and examples, mainly for MEG, EEG, fNIRS, etc.
- If you help to mention BIDS in one of your grant,
make sure that to check out the [BIDS grant writing kit](https://github.com/bids-standard/grant_writing_kit)
make sure that to check out the [BIDS grant writing kit](https://github.com/bids-standard/grant_writing_kit#bids-grant-writing-kit).

## Community

Expand Down Expand Up @@ -62,7 +62,7 @@ Tools for converting data to/from BIDS from other standard or custom formats and

<!-- Converters starts -->

### MRI
### MRI

- [Autobids](https://github.com/khanlab/autobids): Automated Dicom to BIDS and pipelines using compute canada. From the Center for Functional and Metabolic Mapping (CFMM) at Western’s Robarts Research Institute.
<br>[![Last commit](https://img.shields.io/github/last-commit/khanlab/autobids?style=plastic)](https://github.com/khanlab/autobids)
Expand Down Expand Up @@ -111,7 +111,7 @@ Tools for converting data to/from BIDS from other standard or custom formats and
- [XNAT2BIDS](https://github.com/kamillipi/2bids): Simple xnat pipeline to convert DICOM scans to BIDS-compatible output (nii+json).
<br>![](https://img.shields.io/badge/shell-black.svg?style=plastic)[![Last commit](https://img.shields.io/github/last-commit/kamillipi/2bids?style=plastic)](https://github.com/kamillipi/2bids)

### MEEG
### MEEG

- <img src='./images/logo_python.png' width='14px'> [BIDSme](https://gitlab.uliege.be/CyclotronResearchCentre/Public/bidstools/bidsme/bidsme_example/-/tree/master/example1):
<br>[![Last commit](https://img.shields.io/github/last-commit/nbeliy/bidsme?style=plastic)](https://github.com/nbeliy/bidsme)[![License: GPL-2.0](https://img.shields.io/badge/License-GPLv2-blue.svg?style=plastic)](https://www.gnu.org/licenses/gpl-2.0)
Expand All @@ -128,7 +128,7 @@ Tools for converting data to/from BIDS from other standard or custom formats and
- <img src='./images/logo_python.png' width='14px'> [sovabids](https://sovabids.readthedocs.io/en/latest/): A Python package for the automatic conversion of EEG datasets to the BIDS standard, with a focus on making the most out of metadata.
<br>[![Last commit](https://img.shields.io/github/last-commit/yjmantilla/sovabids?style=plastic)](https://github.com/yjmantilla/sovabids)

### physiological
### physiological

- <img src='./images/logo_python.png' width='14px'> [BIDScoin](https://bidscoin.readthedocs.io/en/stable/): BIDScoin converts your source-level neuroimaging data to BIDS
<br>[![Last commit](https://img.shields.io/github/last-commit/Donders-Institute/bidscoin?style=plastic)](https://github.com/Donders-Institute/bidscoin)[![PyPI version](https://badge.fury.io/py/bidscoin.svg)](https://pypi.org/project/bidscoin)
Expand All @@ -137,7 +137,7 @@ Tools for converting data to/from BIDS from other standard or custom formats and
- <img src='./images/logo_python.png' width='14px'> [phys2bids](https://phys2bids.readthedocs.io/en/latest/): Python3 library to format physiological files in BIDS.
<br>[![Last commit](https://img.shields.io/github/last-commit/physiopy/phys2bids?style=plastic)](https://github.com/physiopy/phys2bids)[![PyPI version](https://badge.fury.io/py/phys2bids.svg)](https://pypi.org/project/phys2bids)

### others
### others

- <img src='./images/logo_python.png' width='14px'> [convert-eprime](https://github.com/tsalo/convert-eprime): Python functions to convert E-Prime files to csvs. Not currently being developed.
<br>[![Last commit](https://img.shields.io/github/last-commit/tsalo/convert-eprime?style=plastic)](https://github.com/tsalo/convert-eprime)[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=plastic)](https://opensource.org/licenses/MIT)
Expand All @@ -149,6 +149,13 @@ Tools for converting data to/from BIDS from other standard or custom formats and
<br>[![Last commit](https://img.shields.io/github/last-commit/dissagaliyeva/sim2bids?style=plastic)](https://github.com/dissagaliyeva/sim2bids)[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=plastic)](https://opensource.org/licenses/MIT)
<!-- Converters ends -->

## Validation

Make sure you use to validate any BIDS dataset you are working with.

You can [use it in a browser](https://bids-standard.github.io/bids-validator/)
or [install the package](https://github.com/bids-standard/bids-validator#quickstart)
and use it as a command line tool.

## BIDS Apps

Expand Down Expand Up @@ -329,7 +336,7 @@ make sure to check our [documentation regarding the BIDS extension proposal proc

<!-- BEP starts -->

### raw
### raw

- [BEP004](https://bids.neuroimaging.io/bep004): Susceptibility Weighted Imaging (SWI)
- [BEP020](https://bids.neuroimaging.io/bep020): Eye Tracking including Gaze Position and Pupil Size
Expand All @@ -344,7 +351,7 @@ make sure to check our [documentation regarding the BIDS extension proposal proc
- [BEP039](https://bids.neuroimaging.io/bep039): Dimensionality reduction-based networks
- [BEP040](https://bids.neuroimaging.io/bep040): Functional Ultrasound (fUS)

### derivative
### derivative

- [BEP011](https://bids.neuroimaging.io/bep011): Structural preprocessing derivatives
- [BEP012](https://bids.neuroimaging.io/bep012): Functional preprocessing derivatives
Expand Down
49 changes: 49 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
site_name: Awesome BIDS
repo_url: https://github.com/bids-standard/awesome-bids.git

nav:
- Home: index.md
- Contributing: contributing.md
- Code of conduct: code-of-conduct.md

theme:
name: material
features:
- navigation.top
- content.action.edit
icon:
repo: fontawesome/brands/github
edit: material/pencil
palette:
# Palette toggle for automatic mode
- media: (prefers-color-scheme)
toggle:
icon: material/brightness-auto
name: Switch to light mode
# Palette toggle for light mode
- media: '(prefers-color-scheme: light)'
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: '(prefers-color-scheme: dark)'
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to system preference

edit_uri: edit/main/src/

markdown_extensions:
- toc:
anchorlink: true
- pymdownx.superfences

plugins:
- search

docs_dir: src

use_directory_urls: false
6 changes: 6 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
mkdocs>=1.1
mkdocs-material>=5.4
pre-commit
black
codespell
reorder-python-imports
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
1 change: 1 addition & 0 deletions src/index.md
2 changes: 1 addition & 1 deletion tools/update_bep_listing.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def write_beps(f, beps: list[dict]) -> None:
f.write("<!-- BEP starts -->\n")

for section in ["raw", "derivative"]:
f.write(f"\n ### {section}\n\n")
f.write(f"\n### {section}\n\n")

subset = [x for x in beps if section in x["content"]]
for bep_ in subset:
Expand Down
2 changes: 1 addition & 1 deletion tools/update_converters_listing.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def docker_badge(converter: dict):

def write_converters(readme, converters: list[dict], section: str):
# for a section of converters write info about each converter with badges below
readme.write(f"\n ### {section}\n\n")
readme.write(f"\n### {section}\n\n")

converters = converters[0]["members"]
sorted_converters = sorted(converters, key=lambda x: x["name"].lower())
Expand Down

0 comments on commit b8057dd

Please sign in to comment.