12#include "../hashmap_ext.h"
55 struct hashmap_s attributes;
70#define GtfDict_check(o) PyType_IsSubtype(Py_TYPE(o), &GtfDictType)
char * GtfDictToGTF(GtfDict *self, size_t *len)
Generates a valid GTF line based on the GtfDict.
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:725
PyObject * GtfDict_keys(GtfDict *restrict self)
GtfDict.keys()
Definition GtfDict.c:810
PyTypeObject GtfDictType
The Python type definition for the GtfDict object.
Definition GtfDict.c:1155
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
PyObject * end
Definition GtfDict.h:45
PyObject * start
Definition GtfDict.h:44
PyObject * reverse
Definition GtfDict.h:47
PyObject * seqname
Definition GtfDict.h:41