Skip to content

Commit

Permalink
refactor to put insulin first which works better
Browse files Browse the repository at this point in the history
  • Loading branch information
shariqm-modal committed Dec 4, 2024
1 parent eec8f6c commit 4386f37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 06_gpu_and_ml/protein_fold/protein_fold.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ def run_esm(sequence, maybe_stale_pdb_id):
)

maybe_stale_pdb_id = maybe_stale_pdb_id.strip()
pdb_sequence = get_sequence(maybe_stale_pdb_id)
if pdb_sequence == sequence:
maybe_stale_sequence = get_sequence(maybe_stale_pdb_id)
if maybe_stale_sequence == sequence:
pdb_id = maybe_stale_pdb_id
L.info(f"Constructing HTML for RCSB entry for {pdb_id}")
pdb_string, residue_id_to_sse = extract_pdb_and_residues(pdb_id)
Expand Down Expand Up @@ -280,8 +280,8 @@ async def background():
)

example_pdbs = [
"Insulin [1ZNI]",
"Myoglobin [1MBO]",
"Insulin [1ZNI]",
"Hemoglobin [1GZX]",
"GFP [1EMA]",
"Collagen [1CGD]",
Expand Down

0 comments on commit 4386f37

Please sign in to comment.