Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jadball committed Nov 21, 2024
1 parent 39dfae0 commit e2ca1e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ImageD11/nbGui/calibration/powder_calib.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@
" distance_um = None\n",
" for mot in possible_distance_motors:\n",
" try:\n",
" distance_um = float(silx.io.get_data(f\"silx:{ds.masterfile}::{scan}/instrument/positioners/{mot}\" )) * 1e3 # microns\n",
" distance_um = float(silx.io.get_data(f\"silx:{masterfile}::{scan}/instrument/positioners/{mot}\" )) * 1e3 # microns\n",
" except ValueError:\n",
" continue\n",
" if distance_um is None:\n",
Expand Down
2 changes: 1 addition & 1 deletion ImageD11/nbGui/calibration/silicon_calib.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
" distance_um = None\n",
" for mot in possible_distance_motors:\n",
" try:\n",
" distance_um = float(silx.io.get_data(f\"silx:{ds.masterfile}::{scan}/instrument/positioners/{mot}\" )) * 1e3 # microns\n",
" distance_um = float(silx.io.get_data(f\"silx:{masterfile}::{scan}/instrument/positioners/{mot}\" )) * 1e3 # microns\n",
" except ValueError:\n",
" continue\n",
" if distance_um is None:\n",
Expand Down

0 comments on commit e2ca1e4

Please sign in to comment.