Skip to content

Commit

Permalink
Merge pull request #1159 from OpenChemistry/notebook-fix
Browse files Browse the repository at this point in the history
Fix variable names
  • Loading branch information
cjh1 authored Aug 9, 2024
2 parents 7564629 + 49db2f7 commit 2d0c0dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/faust/templates/vacuum_scan_subtract.ipynb.j2
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@
" vacuum_camera_length = vacuum_md['Microscope Info STEM Camera Length']\n",
" vacuum_stem_magnification = vacuum_md['Microscope Info Indicated Magnification']\n",
" if vacuum_camera_length != camera_length:\n",
" print(f'Vacuum camera length = {camera_length} mm')\n",
" print(f'Vacuum camera length = {vacuum_camera_length} mm')\n",
" raise UserWarning('camera lengths do not match')\n",
" if vacuum_stem_magnification != stem_magnification:\n",
" print(f'Vacuum STEM magnification = {stem_magnification} kx')\n",
" print(f'Vacuum STEM magnification = {vacuum_stem_magnification} kx')\n",
" raise UserWarning('STEM magnifications do not match')\n",
"else:\n",
" print('No Vacuum HAADF available')\n",
Expand Down

0 comments on commit 2d0c0dd

Please sign in to comment.