Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
small index issue
Browse files
tiger.py
CHANGED
|
@@ -340,7 +340,7 @@ def tiger_exhibit(transcripts: pd.DataFrame, mode: str, check_off_targets: bool,
|
|
| 340 |
if check_off_targets and off_target_candidates is not None:
|
| 341 |
off_target_candidates = find_off_targets(off_target_candidates, status_update_fn)
|
| 342 |
off_target_predictions = predict_off_target(off_target_candidates, model=tiger)
|
| 343 |
-
off_target_predictions = off_target_predictions.sort_values(SCORE_COL, ascending=False)
|
| 344 |
|
| 345 |
# finalize tables
|
| 346 |
for df in [on_target_predictions, titration_predictions, off_target_predictions]:
|
|
|
|
| 340 |
if check_off_targets and off_target_candidates is not None:
|
| 341 |
off_target_candidates = find_off_targets(off_target_candidates, status_update_fn)
|
| 342 |
off_target_predictions = predict_off_target(off_target_candidates, model=tiger)
|
| 343 |
+
off_target_predictions = off_target_predictions.sort_values(SCORE_COL, ascending=False).reset_index(drop=True)
|
| 344 |
|
| 345 |
# finalize tables
|
| 346 |
for df in [on_target_predictions, titration_predictions, off_target_predictions]:
|