dylanplummer commited on
Commit
36ab5ef
·
1 Parent(s): 44a3abc
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -184,7 +184,7 @@ def get_heatmap_locus(gene, locus1, locus2, heatmap_range):
184
 
185
  def get_heatmap(celltype, gene, locus1, locus2, heatmap_range):
186
  heatmap_locus = get_heatmap_locus(gene, locus1, locus2, heatmap_range)
187
- c = coolers[celltypes.index(celltype)]
188
  mat = c.matrix().fetch(heatmap_locus)
189
  #img = draw_heatmap(mat, 0, return_image=True)
190
  fig, ax = plt.subplots(figsize=(4, 4))
 
184
 
185
  def get_heatmap(celltype, gene, locus1, locus2, heatmap_range):
186
  heatmap_locus = get_heatmap_locus(gene, locus1, locus2, heatmap_range)
187
+ c = coolers[cooler_celltypes.index(celltype)]
188
  mat = c.matrix().fetch(heatmap_locus)
189
  #img = draw_heatmap(mat, 0, return_image=True)
190
  fig, ax = plt.subplots(figsize=(4, 4))