From 5779ed4ff83a373a6002f4ec9a62cf1ed4e21554 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 30 May 2024 17:34:19 -0400 Subject: [PATCH 1/2] Remove codespell workflow -- it is part of tox -e lint which we invoke --- .github/workflows/codespell.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .github/workflows/codespell.yml diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml deleted file mode 100644 index 6f32efea..00000000 --- a/.github/workflows/codespell.yml +++ /dev/null @@ -1,19 +0,0 @@ ---- -name: Codespell - -on: - push: - branches: [master] - pull_request: - branches: [master] - -jobs: - codespell: - name: Check for spelling errors - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Codespell - uses: codespell-project/actions-codespell@v2 From 80e62bc1de9de338f287bb6e93bad375febe384d Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 30 May 2024 17:35:51 -0400 Subject: [PATCH 2/2] Fix up typos detected with fresh codespell Thanks @bpinsard for the buzz --- docs/installation.rst | 4 ++-- heudiconv/bids.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 03b80766..d567d880 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -27,7 +27,7 @@ which provides the `heudiconv package `_ +Our container image releases are available on `our Docker Hub `_ If `Docker `_ is available on your system, you can pull the latest release:: @@ -36,7 +36,7 @@ If `Docker `_ is available on your system, you Additionally, HeuDiConv is available through the Docker image at `repronim/reproin `_ provided by `ReproIn heuristic project `_, which develops the ``reproin`` heuristic. -To maintain provenance, it is recommended that you use the ``latest`` tag only when testing out heudiconv. +To maintain provenance, it is recommended that you use the ``latest`` tag only when testing out heudiconv. Otherwise, it is recommended that you use an explicit version and record that information alongside the produced data. diff --git a/heudiconv/bids.py b/heudiconv/bids.py index 2eea7a64..f87e4494 100644 --- a/heudiconv/bids.py +++ b/heudiconv/bids.py @@ -385,7 +385,7 @@ def add_participant_record( if participant_id in known_subjects: return else: - # Populate particpants.json (an optional file to describe column names in + # Populate participants.json (an optional file to describe column names in # participant.tsv). This auto generation will make BIDS-validator happy. participants_json = op.join(studydir, "participants.json") if not op.lexists(participants_json):