biocantor.util.object_validation

Module Contents

Classes

ObjectValidation

class biocantor.util.object_validation.ObjectValidation
static require_location_nonempty(location)
static require_location_has_parent(location)
static require_location_has_parent_with_sequence(location)
static require_parent_has_location(parent)
static require_parent_has_parent(parent)
static require_parent_has_parent_with_location(parent)
static require_parents_equal_except_location(parent1, parent2)
static require_parents_equal_except_location_and_sequence(parent1, parent2)
static require_locations_have_same_nonempty_parent(location1, location2)
static require_locations_overlap(location1, location2, match_strand: bool = False)
static require_locations_do_not_overlap(location1, location2, match_strand: bool = False)
static require_object_has_type(obj, required_type)