Skip to content

Commit

Permalink
Update to ubuntu 2404:2024.08.1 and [email protected]
Browse files Browse the repository at this point in the history
For [email protected], data_path argument is before all other arguments
  • Loading branch information
tientong98 committed Oct 9, 2024
1 parent 68b4962 commit a3ce6fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
type: string
default: "3.8"
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2404:2024.08.1
working_directory: /home/circleci/src/CuBIDS
steps:
- checkout:
Expand All @@ -34,7 +34,7 @@ jobs:
# Add nodejs and the validator
conda install nodejs
npm install -g yarn && \
npm install -g bids-validator
npm install -g bids-validator@1.14.14-dev.0
# Install CuBIDS
pip install -e .[tests]
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:

deploy_pypi:
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2404:2024.08.1
working_directory: /home/circleci/src/CuBIDS
steps:
- checkout:
Expand Down
3 changes: 2 additions & 1 deletion cubids/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ def build_validator_call(path, ignore_headers=False):
"""Build a subprocess command to the bids validator."""
# build docker call
# CuBIDS automatically ignores subject consistency.
command = ["bids-validator", "--verbose", "--json", "--ignoreSubjectConsistency"]
command = ["bids-validator", path, "--verbose", "--json", "--ignoreSubjectConsistency"]


if ignore_headers:
command.append("--ignoreNiftiHeaders")
Expand Down

0 comments on commit a3ce6fc

Please sign in to comment.