Update app.py
Browse files
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 =
|
124 |
elif 500 <= domain_len:
|
125 |
-
step_size =
|
126 |
elif domain_len < 10:
|
127 |
step_size = 1
|
128 |
else:
|
129 |
-
step_size =
|
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 |
|