Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/hio/base/hier/hogging.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def __init__(self, iops=None, nabe=Nabes.afdo, base="", filed=True,
raise HierError(f"For non-zero count one of {cycleSpan=} or "
f"{cycleSize=} must be non-zero")

self.cycleCount = max(min(cycleCount, 99), 0)
self.cycleCount = max(min(cycleCount, 999), 0)
self.cycleSpan = cycleSpan
self.cycleSize = cycleSize
self.cyclePaths = [] # need to init
Expand Down Expand Up @@ -297,7 +297,7 @@ def __init__(self, iops=None, nabe=Nabes.afdo, base="", filed=True,
self.cyclePaths = []
for k in range(1, self.cycleCount + 1):
root, ext = os.path.splitext(self.path)
path = f"{root}_{k:02}{ext}" # ext includes leading dot
path = f"{root}_{k:03}{ext}" # ext includes leading dot
self.cyclePaths.append(path)
# trial open to ensure can make
try:
Expand Down
1 change: 0 additions & 1 deletion tests/base/hier/test_hogging.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ def test_hog_log(mockHelpingNowIso8601):
Hog._clearall() # clear Hog.Instances for debugging

@namify
@registerify
@dataclass
class LocationBag(TymeDom):
"""Vector Bag dataclass
Expand Down
Loading