From e2b533057a994bf4f2a2306a0f2d5c36e5814a1a Mon Sep 17 00:00:00 2001 From: Xiao Gui Date: Wed, 2 Oct 2024 17:34:50 +0200 Subject: [PATCH] fix: kwarg --- new_api/data_handlers/maps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new_api/data_handlers/maps.py b/new_api/data_handlers/maps.py index c6e81dc..74b0708 100644 --- a/new_api/data_handlers/maps.py +++ b/new_api/data_handlers/maps.py @@ -100,7 +100,7 @@ def cache_parcellation_labelled_map(parcellation_id: str, space_id: str, region_ return full_filename, False, None -def cache_resampled_map(parcellation_id: str, space_id: str, *, no_cache: bool): +def cache_resampled_map(parcellation_id: str, space_id: str, *, no_cache: bool=False): full_filename = get_filename("resampled_map", parcellation_id, space_id, ext=".nii.gz") if not no_cache and os.path.isfile(full_filename): return full_filename, True, None