42Cummer commited on
Commit
50f7884
·
verified ·
1 Parent(s): 2b70762

Upload refine.py

Browse files
Files changed (1) hide show
  1. scripts/refine.py +10 -11
scripts/refine.py CHANGED
@@ -180,20 +180,19 @@ def process_results(target_pdb_id, result_pdb, global_rmsd, core_rmsd):
180
  status = "Possible Fold Drift - Review Required"
181
  status_emoji = "❌"
182
 
183
- report = f"""
184
- ### 🔬 Structural Validation Report
185
 
186
- **Target:** {target_pdb_id.upper()}
187
 
188
- **RMSD Metrics:**
189
- - **Global RMSD:** {global_rmsd:.2f} Å (all residues)
190
- - **High-Confidence Core RMSD (pLDDT > 80):** {core_rmsd:.2f} Å
191
 
192
- **Design Status:** {status_emoji} {status}
193
 
194
- **Interpretation:**
195
- - Core RMSD < 1.0 Å: Excellent scaffold preservation
196
- - Core RMSD 1.0-2.0 Å: Good structural match
197
- - Core RMSD > 2.0 Å: Possible fold drift, review structure
198
  """
199
  return report
 
180
  status = "Possible Fold Drift - Review Required"
181
  status_emoji = "❌"
182
 
183
+ report = f"""🔬 Structural Validation Report
 
184
 
185
+ Target: {target_pdb_id.upper()}
186
 
187
+ RMSD Metrics:
188
+ Global RMSD: {global_rmsd:.2f} Å (all residues)
189
+ High-Confidence Core RMSD (pLDDT > 80): {core_rmsd:.2f} Å
190
 
191
+ Design Status: {status_emoji} {status}
192
 
193
+ Interpretation:
194
+ Core RMSD < 1.0 Å: Excellent scaffold preservation
195
+ Core RMSD 1.0-2.0 Å: Good structural match
196
+ Core RMSD > 2.0 Å: Possible fold drift, review structure
197
  """
198
  return report