Skip to content

Commit

Permalink
add b factors to beginning of tutorial notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
mjo22 committed Dec 6, 2024
1 parent cd595a4 commit 481910f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/examples/multislice.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -20,8 +20,10 @@
"from cryojax.io import read_atoms_from_pdb\n",
"\n",
"\n",
"atom_positions, atom_identities = read_atoms_from_pdb(\"./data/5w0s.pdb\")\n",
"atom_potential = cxs.PengAtomicPotential(atom_positions, atom_identities)"
"atom_positions, atom_identities, b_factors = read_atoms_from_pdb(\n",
" \"./data/5w0s.pdb\", get_b_factors=True\n",
")\n",
"atom_potential = cxs.PengAtomicPotential(atom_positions, atom_identities, b_factors)"
]
},
{
Expand Down

0 comments on commit 481910f

Please sign in to comment.