better error handling in zlm and zlm.SingleCellAssay