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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

setup(
name='hio',
version='0.7.17', # also change in src/hio/__init__.py
version='0.7.18', # also change in src/hio/__init__.py
license='Apache Software License 2.0',
description='Hierarchical Concurrency with Async IO',
long_description=("HIO Hierarchical Concurrency and Asynchronous IO Library. "
Expand Down
2 changes: 1 addition & 1 deletion src/hio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
hio package
"""

__version__ = '0.7.17' # also change in setup.py
__version__ = '0.7.18' # also change in setup.py

from .hioing import (Mixin, HioError, SizeError, ValidationError, VersionError,
HierError)
4 changes: 3 additions & 1 deletion src/hio/base/hier/hogging.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ class Hog(ActBase, Filer):
clear=True, reuse=True, clean=True, filed=True,
extensioned=True, )

Proem = "__" # prepended to rid (run ID) in header to ensure 24 bit boundary alignment


def __init__(self, iops=None, nabe=Nabes.afdo, base="", filed=True,
extensioned=True, mode='a+', fext="hog", reuse=True,
Expand Down Expand Up @@ -325,7 +327,7 @@ def act(self, **iops):
# create B64 version of uuid with stripped trailing pad bytes
uid = encodeB64(bytes.fromhex(uuid.uuid1().hex))[:-2].decode()
#self.rid = self.name + "_" + uid
self.rid = "0A" + uid # same as CESR salt
self.rid = self.Proem + uid # same as CESR salt
self.stamp = timing.nowIso8601() # current real datetime as ISO8601 string

metaLine = (f"rid\tbase\tname\tstamp\trule\tcount\n")
Expand Down
Loading