From 379e744e73f8aea43d2e3c6068211d3fc102b4cc Mon Sep 17 00:00:00 2001 From: Blaise Li <blaise.li__git@nsup.org> Date: Thu, 1 Feb 2018 16:42:06 +0100 Subject: [PATCH] Fixing syntax error. --- small_RNA-seq/small_RNA-seq.snakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/small_RNA-seq/small_RNA-seq.snakefile b/small_RNA-seq/small_RNA-seq.snakefile index 3b94aa0..a37b09f 100644 --- a/small_RNA-seq/small_RNA-seq.snakefile +++ b/small_RNA-seq/small_RNA-seq.snakefile @@ -3812,7 +3812,7 @@ rule explore_counts: save_plot(output.zscore_clustermap, plot_clustermap, zscore_data, gene_colours, "zscore", title="Clustering of %sRNA based on standardized (z-score) expression level" % wildcards.small_type) else: - warnings.warn(f"Not enough usable data points to compute clustermap for {wildcards.contrast}_{wildcards.small_type}" + warnings.warn(f"Not enough usable data points to compute clustermap for {wildcards.contrast}_{wildcards.small_type}") # Make the file empty open(output.zscore_clustermap, "w").close() #unit_data = pd.read_table( @@ -3822,7 +3822,7 @@ rule explore_counts: #save_plot(output.unit_clustermap, plot_clustermap, unit_data, gene_colours, "unit", # title="Clustering of %sRNA based on normalized (L2) expression level" % wildcards.small_type) else: - warnings.warn("No up or down regulated genes for {wildcards.contrast}_{wildcards.small_type}" + warnings.warn(f"No up or down regulated genes for {wildcards.contrast}_{wildcards.small_type}") # Make the file empty open(output.zscore_clustermap, "w").close() -- GitLab