http://code.google.com/p/dspchip/source/detail?r=240
Modified:
/trunk/src/dclib/IO.py
=======================================
--- /trunk/src/dclib/IO.py Fri Feb 11 07:16:32 2011
+++ /trunk/src/dclib/IO.py Fri Feb 11 08:20:21 2011
@@ -700,7 +700,10 @@
def wipeDir(options):
# Clean dir from previous bigwig data... otherwise they will be read
# by this execution and this will likely raise errors
- os.unlink(options.profile)
+ try:
+ os.unlink(options.profile)
+ except OSError:
+ True
def openPeaks(options):
bedh = open(options.bedfile, 'w')