From 93988966fe468e19301f5ce16308f26aa66c7b3f Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 30 Jan 2020 12:23:46 -0500 Subject: [PATCH] MNT: nipype_workshop_dataset: Update save() call for DataLad 0.12 In 0.12.x, `datalad save` no longer accepts --super-datasets. In a blind to make the example compatible with the latest DataLad, use the --dataset=^ shortcut instead. Note that there are other spots in the example that should be updated for the 0.12.x (e.g., use of `datalad add`). This is just a minimal attempt to get it passing. Re: https://github.com/datalad/datalad-neuroimaging/pull/74#issuecomment-580340491 --- docs/examples/nipype_workshop_dataset.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/nipype_workshop_dataset.sh b/docs/examples/nipype_workshop_dataset.sh index 16a8707..f503fad 100755 --- a/docs/examples/nipype_workshop_dataset.sh +++ b/docs/examples/nipype_workshop_dataset.sh @@ -200,7 +200,7 @@ datalad add --to-git --nosave dataset_description.json datalad aggregate-metadata --nosave -r # and finally save all accumulated changes from above commands # while also updating the topmost superdataset about this changes under 'workshops' -datalad save -S -m "Added dataset description and aggregated meta-data" -r +datalad save -d'^' -m "Added dataset description and aggregated meta-data" -r # go upstairs and aggregate meta-information across its direct datasets without recursing # (since might take awhile) cd ..