uci-cbcl / EXTREME

An online EM implementation of the MEME model for fast motif discovery in large ChIP-Seq and DNase-Seq Footprinting data
GNU General Public License v2.0
30 stars 4 forks source link

Gracefully exit when not motifs are found #3

Closed khughitt closed 9 years ago

khughitt commented 9 years ago

Currently, EXTREME.py execution fails when len(logevs) == 0 and prints an uninformative error message.

It may be better to print a message that no motifs are found and then explicitly stop execution with sys.exit().