diff --git a/.github/workflows/validation.yml b/.github/workflows/validation.yml index 71c694e80..ab1d730be 100644 --- a/.github/workflows/validation.yml +++ b/.github/workflows/validation.yml @@ -17,4 +17,17 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: codespell-project/actions-codespell@master \ No newline at end of file + - uses: codespell-project/actions-codespell@master + + check_listing: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: install python + uses: actions/setup-python@v5 + with: + python-version: 3.13 + - name: install dependencies + run: pip install -r tools/requirements.txt + - name: check that all datasets are listed in dataset_listing.tsv + run: python tools/print_dataset_listing.py diff --git a/dataset_listing.tsv b/dataset_listing.tsv index 2b0a8afd2..b3b470897 100644 --- a/dataset_listing.tsv +++ b/dataset_listing.tsv @@ -82,3 +82,4 @@ mrs_fmrs Functional MRS data involving a pain stimulus task from 15 subjects [li 2d_mb_pcasl Siemens 2D MultiBand Multi-delay PCASL (m0 and noRF included within timeseries) [link](https://osf.io/xrkc4/) [@aptinis](https://github.com/aptinis) anat, fmap, perf T1w, asl, aslcontext, epi xeeg_hed_score EEG and iEEG data with annotations of artifacts, seizures and modulators using HED-SCORE [@dorahermes](https://github.com/dorahermes) anat, eeg, ieeg T1w, channels, coordsystem, eeg, electrodes, events, ieeg dwi_deriv exemplifies the storage of diffusion MRI derivates that may be generated on the Siemens XA platform. dwi dwi +pheno004 dataset containing a mismatch of subjects with MRI data and tabular phenotypic data to be considered a whole dataset of participants for the sake of the participants.tsv file [@ericearl](https://github.com/ericearl) anat T1w, ace, demographics diff --git a/tools/print_dataset_listing.py b/tools/print_dataset_listing.py index 18ebd78af..facfc8df1 100644 --- a/tools/print_dataset_listing.py +++ b/tools/print_dataset_listing.py @@ -11,7 +11,7 @@ from bids import BIDSLayout from rich import print -folders_to_skip = ["docs", ".git", ".github", "tools", "env", "site", ".vscode"] +folders_to_skip = ["docs", ".git", ".github", "tools", "env", ".venv", "site", ".vscode"] suffixes_to_remove = ["README", "description", "participants", "CITATION"] column_order = [ "name", diff --git a/tools/requirements.txt b/tools/requirements.txt index f5ffa6e5a..3d60ecb79 100644 --- a/tools/requirements.txt +++ b/tools/requirements.txt @@ -1,3 +1,4 @@ pybids pandas -tabulate \ No newline at end of file +tabulate +rich