Arts-of-coding commited on
Commit
8794be4
·
verified ·
1 Parent(s): 969025f

Update dash_plotly_QC_scRNA.py

Browse files
Files changed (1) hide show
  1. dash_plotly_QC_scRNA.py +1 -1
dash_plotly_QC_scRNA.py CHANGED
@@ -300,7 +300,7 @@ def update_slider_values(min_1, max_1, min_2, max_2, min_3, max_3):
300
 
301
  def update_graph_and_pie_chart(s_chosen, g2m_chosen, condition1_chosen, condition2_chosen, condition3_chosen, range_value_1, range_value_2, range_value_3): #batch_chosen,
302
  dff = df.filter(
303
- (pl.col(condition1_chosen).cast(str)) & #.is_in(batch_chosen)
304
  (pl.col(col_features) >= range_value_1[0]) &
305
  (pl.col(col_features) <= range_value_1[1]) &
306
  (pl.col(col_counts) >= range_value_2[0]) &
 
300
 
301
  def update_graph_and_pie_chart(s_chosen, g2m_chosen, condition1_chosen, condition2_chosen, condition3_chosen, range_value_1, range_value_2, range_value_3): #batch_chosen,
302
  dff = df.filter(
303
+ (pl.col(condition1_chosen)) & #.cast(str).is_in(batch_chosen)
304
  (pl.col(col_features) >= range_value_1[0]) &
305
  (pl.col(col_features) <= range_value_1[1]) &
306
  (pl.col(col_counts) >= range_value_2[0]) &