LHentges / LanceOtron

https://LanceOtron.molbiol.ox.ac.uk/
GNU General Public License v3.0
22 stars 5 forks source link

Fix pandas bug if no peaks found in find_and_score_peaks #25

Closed annajbott closed 1 month ago

annajbott commented 1 month ago

Fix:

There's a pandas bug if no peaks found in find_and_score_peaks (ValueError: Length mismatch: Expected axis has 0 elements, new values have 19 elements)

Issue documented here: https://github.com/LHentges/LanceOtron/issues/20

Added if/else statement for if bed_file_out is empty. Print statement for bigwig file that has no peaks

annajbott commented 1 month ago

Error also mentioned in issue: https://github.com/LHentges/LanceOtron/issues/18