We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7947c6e commit fccd8a2Copy full SHA for fccd8a2
larray/core/group.py
@@ -654,9 +654,11 @@ def _to_keys(value, stack_depth=1):
654
655
def _translate_sheet_name(sheet_name):
656
if isinstance(sheet_name, Group):
657
- sheet_name = _sheet_name_pattern.sub('_', str(_to_tick(sheet_name)))
658
- if isinstance(sheet_name, basestring) and len(sheet_name) > 30:
659
- raise ValueError("Sheet names cannot exceed 31 characters")
+ sheet_name = str(_to_tick(sheet_name))
+ if isinstance(sheet_name, basestring):
+ sheet_name = _sheet_name_pattern.sub('_', sheet_name)
660
+ if len(sheet_name) > 30:
661
+ raise ValueError("Sheet names cannot exceed 31 characters")
662
return sheet_name
663
664
0 commit comments