Andrew Stirn commited on
Commit
d99c64e
·
1 Parent(s): 47e7aeb

web tool titration clipping slightly wider than testing

Browse files
Files changed (1) hide show
  1. tiger.py +1 -1
tiger.py CHANGED
@@ -125,7 +125,7 @@ def prediction_transform(predictions: np.array, **params):
125
 
126
 
127
  def titration_ratio(guide: np.array, parent: np.array):
128
- return 1 - np.clip(parent - guide, a_min=0.01, a_max=0.99)
129
 
130
 
131
  def predict_on_target(transcript_seq: str, model: tf.keras.Model):
 
125
 
126
 
127
  def titration_ratio(guide: np.array, parent: np.array):
128
+ return 1 - np.clip(parent - guide, a_min=0.0, a_max=1.0)
129
 
130
 
131
  def predict_on_target(transcript_seq: str, model: tf.keras.Model):