Skip to content

← diagnostics package

AssertIdentical

Ensure that the two input signals have identical data.

This node compares the packets of two data inlets, and ensures that their content (numeric data and optionally also meta-data) is identical to within a given tolerance. Version 1.0.0

Ports/Properties

data1

First data stream.

  • verbose name: Data1
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

data2

Second data stream.

  • verbose name: Data2
  • default value: None
  • port type: DataPort
  • value type: object (can be None)
  • data direction: IN

check_metadata

Also check meta-data. If false, only the numeric contents are checked.

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

tolerance

Numerical tolerance. This is relative to the scale of the data values.

  • verbose name: Tolerance
  • default value: 0.001
  • port type: FloatPort
  • value type: float (can be None)

verbose

Print verbose debug output.

  • verbose name: Verbose
  • 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)