approx_equal

method of dascore.core.coords.BaseCoord source

approx_equal(
    self: BaseCoord ,
    other: BaseCoord ,
)-> ‘bool’

Return True if the coordinates are approximately equal.

This is a tolerant comparison helper. It is intentionally distinct from fingerprint(), which is stricter and intended for stable IDs.

Parameters

Parameter Description
other Another coordinate.