Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clipper/src/peaksmodule.cc
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ extern "C" PyObject *peaks_readsToWiggle_pysam(PyObject *self, PyObject *args) {
jxns = PyDict_New();
allreads = PySet_New(NULL);

while (item = PyIter_Next(iterator)) {
while ((item = PyIter_Next(iterator))) {


//skips reads on the wrong strand
Expand Down Expand Up @@ -509,7 +509,7 @@ static struct PyModuleDef peaksmodule = {
extern "C" PyMODINIT_FUNC PyInit_peaks(void)
{
PyImport_AddModule("peaks");
PyModule_Create(&peaksmodule);
return PyModule_Create(&peaksmodule);
}

int usage(char *program_name)
Expand Down