Kseniia-Kholina commited on
Commit
343e74e
·
verified ·
1 Parent(s): b76f122

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -120,13 +120,13 @@ def process_sequence(sequence, domain_bounds, n):
120
  # Plotting the heatmap
121
  domain_len = end - start
122
  if 500 > domain_len > 100:
123
- step_size = 50
124
  elif 500 <= domain_len:
125
- step_size = 100
126
  elif domain_len < 10:
127
  step_size = 1
128
  else:
129
- step_size = 10
130
  x_tick_positions = np.arange(start_index, end_index, step_size)
131
  x_tick_labels = [str(pos + 1) for pos in x_tick_positions]
132
 
 
120
  # Plotting the heatmap
121
  domain_len = end - start
122
  if 500 > domain_len > 100:
123
+ step_size = 49
124
  elif 500 <= domain_len:
125
+ step_size = 99
126
  elif domain_len < 10:
127
  step_size = 1
128
  else:
129
+ step_size = 9
130
  x_tick_positions = np.arange(start_index, end_index, step_size)
131
  x_tick_labels = [str(pos + 1) for pos in x_tick_positions]
132