Skip to content

← diagnostics package

AssertNoDuplicateChunks

Check for (and optionally remove) successive duplicate chunks from the data.

This node checks if a chunk matches the previous chunk and if so, it can drop it from the data. Note that it would be advisable to fix the root cause instead, which is likely a buggy data acquisition or transmission process. Version 1.0.0

Ports/Properties

data

Data to process.

  • verbose name: Data
  • default value: None
  • port type: DataPort
  • value type: Packet (can be None)
  • data direction: INOUT

show_warnings

Show warnings when dropping chunks.

  • verbose name: Show Warnings
  • default value: True
  • port type: BoolPort
  • value type: bool (can be None)

drop_duplicates

Drop duplicate chunks.

  • verbose name: Drop Duplicates
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

  • verbose name: Set Breakpoint (Debug Only)
  • default value: False
  • port type: BoolPort
  • value type: bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

  • verbose name: Metadata
  • default value: {}
  • port type: DictPort
  • value type: dict (can be None)