While working on making the alignment parsing optional. I made a mistake
copying some files around, that led to an unparseable base call directory.
I thought I should try to catch and report that error condition.
else:
b = bustard_from_ga1(pathname)
else:
b = bustard_from_ga1(pathname)
+ if not b:
+ raise RuntimeError("Unable to parse base-call directory at %s" % (pathname,))
+
return b
def bustard_from_ga1(pathname):
return b
def bustard_from_ga1(pathname):