Skip to content

Commit

Permalink
Fix documentation for extract_delimited_names
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-l-kong committed Dec 2, 2020
1 parent 5916842 commit b635070
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ark/utils/io_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,10 @@ def extract_delimited_names(names, delimiter='_', delimiter_optional=True):
"""For a given list of names, extract the delimited prefix
Examples (if delimiter='_'):
- 'fov1' becomes 'fov1'
- 'fov2_part1' becomes 'fov2'
- 'fov3_part1_part2' becomes 'fov3'
- 'fov1' becomes 'fov1'
- 'fov2_part1' becomes 'fov2'
- 'fov3_part1_part2' becomes 'fov3'
Args:
names (list):
Expand Down

0 comments on commit b635070

Please sign in to comment.