BIMSBbioinfo / ciRcus

An R package for annotation of circular RNAs
10 stars 5 forks source link

fixed testCoordinateIndexing #10

Closed mschilli87 closed 7 years ago

mschilli87 commented 7 years ago

This fixes a bug in testCoordinateIndexing that makes annotateCircs fail when passing an annotation list as annot.list parameter that is not called annot.list itself. In the latter case, testCoordinateIndexing relied on being able to access the global annot.list object.

This fixes this behaviour by using testCoordinateIndexings (so far unused) g2 parameter instead, which is passed down by annotateCircs based on its annot.list parameter (regardless of if/how this was/is named globally).

retaj commented 7 years ago

what a lame ass bug. thanks!