Open haoyangz opened 6 years ago
I got the same error. So I checked the code, and it turns out the error is caused by an empty list. However, empty list in python doesn't mean "None", so this condition is always false.
To fix the problem, I manually modified the code at line 336 to be if m_pk.pks[key] is None or not m_pk.pks[key]
.
It seems that the argument
--use-nonoverlapping-peaks
is never used. Instead, the code checks for an argument "--use_nonoverlapping_peaks". When I corrected this and ran it on two replicates where there are non-overlapping peaks, I got the following error:Maybe this functionality hasn't been tested thoroughly due to the mismatched naming? Could you advise?