70#define GtfDict_check(o) PyType_IsSubtype(Py_TYPE(o), &GtfDictType)
long hausdorf_distance(GtfDict *restrict a, long start, long end)
Calculates the hausdorf distance between a GtfDict and a range.
Definition GtfDict.c:532
int GtfDict_containsValue(GtfDict *self, PyObject *other)
Internal function for checking if the other dict is contained within self. Linked as contains and con...
PyObject * GtfDict_getitem(GtfDict *restrict self, PyObject *restrict key)
A custom getitem that also checks the core attributes.
Definition GtfDict.c:647
PyObject * GtfDict_keys(GtfDict *restrict self)
GtfDict.keys()
Definition GtfDict.c:722
PyTypeObject GtfDictType
The Python type definition for the GtfDict object.
Definition GtfDict.c:1208
Contains the declarations for our extension of the hashmap module.
A dict that holds GTF data.
Definition GtfDict.h:30
PyObject * frame
Definition GtfDict.h:48
PyObject * score
Definition GtfDict.h:46
PyObject * feature
Definition GtfDict.h:43
PyObject * source
Definition GtfDict.h:42
struct hashmap_s attributes
The attributes of the GTF line.
Definition GtfDict.h:55
PyObject * end
Definition GtfDict.h:45
PyObject * start
Definition GtfDict.h:44
PyObject * reverse
Definition GtfDict.h:47
PyObject * seqname
Definition GtfDict.h:41
PyObject * core[8]
The core GTF fields accessible as an array for iteration.
Definition GtfDict.h:36