Skip to content

Commit

Permalink
Change default of find_topmost in parcellation.get_region to False
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmetNSimsek committed Dec 13, 2024
1 parent 75d827e commit ba777a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions siibra/core/parcellation.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def _split_group_spec(self, spec: str):
def get_region(
self,
regionspec: Union[str, region.Region],
find_topmost: bool = True,
find_topmost: bool = False,
allow_tuple: bool = False
):
"""
Expand All @@ -255,7 +255,7 @@ def get_region(
regionspec: str, Region
- a string with a possibly inexact name (matched both against the name and the identifier key)
- a Region object
find_topmost: bool, default: True
find_topmost: bool, default: False
If True, will automatically return the parent of a decoded region
the decoded region is its only child.
allow_tuple: bool, default: False
Expand Down

0 comments on commit ba777a4

Please sign in to comment.