Functions | |
def | gen_snapkey |
def | parse_snapkey |
Snapkeys are abbreviations that can be used to identify a snap. Snaps do not have a single unique attribute, which makes them difficult to identify. Snapkeys solve that problem. Snapkeys have 3 parts: block index (int) container indicator ('e' for emitter or 'c' for collector) snap order Example: snapkey 3e1 means the snap in block index 3's emitter with order 1
def diarc.diarc.snapkey.gen_snapkey | ( | block_index, | |
container, | |||
snap_order | |||
) |
generate a snapkey
Definition at line 22 of file snapkey.py.
def diarc.diarc.snapkey.parse_snapkey | ( | snapkey | ) |
Parses a snapkey into a 3-tuple
Definition at line 14 of file snapkey.py.