Skip to content

Commit

Permalink
Merge branch 'master' into bidsschematools-update
Browse files Browse the repository at this point in the history
  • Loading branch information
nellh authored Nov 14, 2024
2 parents 272b48f + 65d6ade commit 36c312a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions services/datalad/hooks/pre-receive
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,7 @@ function main() {
filterDotFiles

# Check if .bidsignore is in the new tree
local bidsignore=$(git show "${newref}:.bidsignore")
if [[ "$?" != 0 ]]; then
bidsignore=""
fi
local bidsignore=$(git show "${newref}:.bidsignore" 2> /dev/null)

# Run validation with bidsschematools
python -m bidsschematools pre-receive-hook <<END
Expand Down

0 comments on commit 36c312a

Please sign in to comment.