Skip to content

Commit

Permalink
fix: kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Oct 2, 2024
1 parent a6957a2 commit e2b5330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new_api/data_handlers/maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2b5330

Please sign in to comment.