Skip to content
Snippets Groups Projects
Commit 379e744e authored by Blaise Li's avatar Blaise Li
Browse files

Fixing syntax error.

parent fc3f65ef
No related branches found
No related tags found
No related merge requests found
...@@ -3812,7 +3812,7 @@ rule explore_counts: ...@@ -3812,7 +3812,7 @@ rule explore_counts:
save_plot(output.zscore_clustermap, plot_clustermap, zscore_data, gene_colours, "zscore", 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) title="Clustering of %sRNA based on standardized (z-score) expression level" % wildcards.small_type)
else: 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 # Make the file empty
open(output.zscore_clustermap, "w").close() open(output.zscore_clustermap, "w").close()
#unit_data = pd.read_table( #unit_data = pd.read_table(
...@@ -3822,7 +3822,7 @@ rule explore_counts: ...@@ -3822,7 +3822,7 @@ rule explore_counts:
#save_plot(output.unit_clustermap, plot_clustermap, unit_data, gene_colours, "unit", #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) # title="Clustering of %sRNA based on normalized (L2) expression level" % wildcards.small_type)
else: 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 # Make the file empty
open(output.zscore_clustermap, "w").close() open(output.zscore_clustermap, "w").close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment