Skip to content
Snippets Groups Projects
Commit 936d013e authored by Aaron's avatar Aaron
Browse files

send warning to stderr.

parent 9ff9543d
No related branches found
No related tags found
No related merge requests found
pybedtools
from setuptools import setup
setup(
name='bedtools',
install_requires=["pybedtools"],
)
......@@ -52,7 +52,8 @@ void BedComplement::ComplementBed() {
bedVector::const_iterator bEnd = _bed->bedMapNoBin[currChrom].end();
for (; bItr != bEnd; ++bItr) {
if (bItr->end > currChromSize) {
cout << "Warninge: end of BED entry exceeds chromosome length. Please correct." << endl;
cerr << "Warning: end of BED entry exceeds chromosome length. "
cerr << "Please correct." << endl;
_bed->reportBedNewLine(*bItr);
exit(1);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment