Skip to content

Commit 96dd325

Browse files
committed
ENH: seed datalad RNGs in "compare-versions" run to get the same UUIDs
1 parent 379e8cd commit 96dd325

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utils/test-compare-two-versions.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ function run() {
2626
shift
2727
source $heudiconvdir/venvs/dev3/bin/activate
2828
whichheudiconv=$(which heudiconv)
29+
# to get "reproducible" dataset UUIDs (might be detremental if we had multiple datalad calls
30+
# but since we use python API for datalad, should be Ok)
31+
export DATALAD_SEED=1
32+
2933

3034
if [ ! -e "$out" ]; then
3135
# just do full conversion

0 commit comments

Comments
 (0)