Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -93,9 +93,9 @@ if uploaded_file is not None:
|
|
93 |
results = []
|
94 |
|
95 |
for index, row in df.iterrows():
|
96 |
-
protein_id = row["Entry
|
97 |
-
protein_name = row["
|
98 |
-
sequence = row["
|
99 |
|
100 |
# Process the protein sequence
|
101 |
repeats = process_protein_sequence(sequence)
|
@@ -113,8 +113,8 @@ if uploaded_file is not None:
|
|
113 |
|
114 |
# Add results to display
|
115 |
results.append({
|
116 |
-
"Entry
|
117 |
-
"
|
118 |
"Repeats": repeats
|
119 |
})
|
120 |
|
|
|
93 |
results = []
|
94 |
|
95 |
for index, row in df.iterrows():
|
96 |
+
protein_id = row["Entry"]
|
97 |
+
protein_name = row["Entry Name"]
|
98 |
+
sequence = row["Sequence"] # Assuming the protein sequence is in a column named 'Protein_Sequence'
|
99 |
|
100 |
# Process the protein sequence
|
101 |
repeats = process_protein_sequence(sequence)
|
|
|
113 |
|
114 |
# Add results to display
|
115 |
results.append({
|
116 |
+
"Entry": protein_id,
|
117 |
+
"Entry Name": protein_name,
|
118 |
"Repeats": repeats
|
119 |
})
|
120 |
|