EmaadKhwaja commited on
Commit ·
dd70be6
1
Parent(s): 7ff2866
cleaning
Browse files- prediction.py +0 -6
prediction.py
CHANGED
|
@@ -163,12 +163,6 @@ def run_image_prediction(
|
|
| 163 |
threshold="median",
|
| 164 |
)
|
| 165 |
|
| 166 |
-
# Check if sequence is provided and valid
|
| 167 |
-
if len(sequence_input) == 0:
|
| 168 |
-
sequence = "MSKGEELFTGVVPILVELDGDVNGHKFSVSGEGEGDATYGKLTLKFICTTGKLPVPWPTLVTTFSYGVQCFSRYPDHMKQHDFFKSAMPEGYVQERTIFFKDDGNYKTRAEVKFEGDTLVNRIELKGIDFKEDGNILGHKLEYNYNSHNVYIMADKQKNGIKVNFKIRHNIEDGSVQLADHYQQNTPIGDGPVLLPDNHYLSTQSALSKDPNEKRDHMVLLEFVTAAGITHGMDELYK"
|
| 169 |
-
# Use default sequence for GFP and print warning
|
| 170 |
-
print("Warning: No sequence provided. Using default sequence for GFP.")
|
| 171 |
-
|
| 172 |
# Convert SEQUENCE to sequence using dataset.tokenize_sequence()
|
| 173 |
sequence = dataset.tokenize_sequence(sequence_input)
|
| 174 |
|
|
|
|
| 163 |
threshold="median",
|
| 164 |
)
|
| 165 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 166 |
# Convert SEQUENCE to sequence using dataset.tokenize_sequence()
|
| 167 |
sequence = dataset.tokenize_sequence(sequence_input)
|
| 168 |
|