gimmemotifs
gimmemotifs copied to clipboard
Make it possible to directly hand over a numpy array to C scanning functions
Not sure if you're willing to dig into the C source. But since the logodds are now anyway numpy arrays, it seems like a waste to convert it to a list, and then in the C code convert the list into C arrays. No clue, but perhaps a numpy array can be read directly by the C code?
Originally posted by @Maarten-vd-Sande in https://github.com/vanheeringen-lab/gimmemotifs/pull/223#discussion_r754100484