diff --git a/cookbook/tutorials/gfp_design.ipynb b/cookbook/tutorials/gfp_design.ipynb index 550434b..52b6ee2 100644 --- a/cookbook/tutorials/gfp_design.ipynb +++ b/cookbook/tutorials/gfp_design.ipynb @@ -212,9 +212,9 @@ "prompt.structure[-1] = 4097\n", "# ... and then we fill in structure tokens at key residues near the alpha helix\n", "# kink and at the stabilizing R and E positions on the beta barrel.\n", - "prompt.structure[55:70] = template_gfp_tokens.structure[56:71]\n", - "prompt.structure[93] = template_gfp_tokens.structure[93]\n", - "prompt.structure[219] = template_gfp_tokens.structure[219]\n", + "prompt.structure[55 + 1 : 70 + 1] = template_gfp_tokens.structure[55 + 1 : 70 + 1]\n", + "prompt.structure[93 + 1] = template_gfp_tokens.structure[93 + 1]\n", + "prompt.structure[219 + 1] = template_gfp_tokens.structure[219 + 1]\n", "\n", "print(\"\".join([\"✔\" if st < 4096 else \"_\" for st in prompt.structure]))" ]