From bf082f01419169a0bac5f1a48eeb41befd7c320f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Le=C3=B3n-Perin=C3=A1n?= Date: Wed, 17 Apr 2024 13:54:38 +0200 Subject: [PATCH] main.smk: no exception when empty DGE, just warning --- spacemake/snakemake/main.smk | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spacemake/snakemake/main.smk b/spacemake/snakemake/main.smk index d7da347b..84c0cfe3 100644 --- a/spacemake/snakemake/main.smk +++ b/spacemake/snakemake/main.smk @@ -503,12 +503,6 @@ rule create_h5ad_dge: ) ) - if adata.X.sum() == 0: - raise SpacemakeError(f"""The h5ad file for {wildcards} is empty (adata.X.sum() == 0). - This will not be further processed. - - To avoid this error from further processing other samples, - run spacemake with --keep-going""") # add 'cell_bc' name to index for same format as individual pucks # this also ensures compatibility with qc_sequencing_create_sheet.Rmd adata.write(output[0])