Jayesh13 commited on
Commit
0ca1e97
·
verified ·
1 Parent(s): 11b960e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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 ID"]
97
- protein_name = row["Protein_Name"]
98
- sequence = row["Protein_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,8 +113,8 @@ if uploaded_file is not None:
113
 
114
  # Add results to display
115
  results.append({
116
- "Entry ID": protein_id,
117
- "Protein Name": protein_name,
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