From 58de4db4d50a290f8c3957a47f0fa61e056494ac Mon Sep 17 00:00:00 2001 From: Adam Li Date: Mon, 11 Dec 2023 07:55:31 -0500 Subject: [PATCH] Update docstring for `include` (#108) Fixes: #107 --------- Signed-off-by: Adam Li --- openneuro/_download.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openneuro/_download.py b/openneuro/_download.py index 8b49777..903df75 100644 --- a/openneuro/_download.py +++ b/openneuro/_download.py @@ -747,7 +747,10 @@ def download( Files and directories to download. **Only** these files and directories will be retrieved. Uses Unix path expansion (``*`` for any number of wildcard characters and ``?`` for one wildcard character; - e.g. ``'sub-1_task-*.fif'``) + e.g. ``'sub-1_task-*.fif'``). As an example, if you would like to download + only subject '1' and run '01' files, you can do so via: + ``'sub-1/**/*run-01*'``. The pattern “**” will match any files and + zero or more directories, subdirectories and symbolic links to directories. exclude Files and directories to exclude from downloading. Uses Unix path expansion (``*`` for any number of wildcard characters