From dfe57e1da1a0769438accc65f26f83cb04d2919d Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 29 Feb 2024 10:43:43 -0500 Subject: [PATCH] feat(pre-receive): Use bidsschematools pre-receive hook --- services/datalad/hooks/pre-receive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/datalad/hooks/pre-receive b/services/datalad/hooks/pre-receive index 0bd9085ee..9b6a25e16 100755 --- a/services/datalad/hooks/pre-receive +++ b/services/datalad/hooks/pre-receive @@ -141,7 +141,7 @@ function main() { # Run validation (with .bidsignore if we found it above) { echo "${dataset_description}${bidsignore}" && echo "0001" && git ls-tree --name-only -r "${newref}"; } | \ - /srv/node_modules/.bin/bids-validator --filenames - + /usr/local/bin/bst pre-receive-hook if [[ "$?" != 0 ]]; then echo "" echo "-------------------------------------------------------------------------"