Skip to content

Commit

Permalink
Removed logging statement and import setenergy at fmx
Browse files Browse the repository at this point in the history
  • Loading branch information
vshekar committed Apr 30, 2024
1 parent 0754ebf commit 6f88c7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion daq_macros.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
from config_params import ON_MOUNT_OPTION, OnMountAvailOptions
from mxbluesky.plans import detect_loop, topview_optimized

from setenergy_lsdc import setELsdc
if daq_utils.beamline == 'fmx':
from setenergy_lsdc import setELsdc


try:
Expand Down
1 change: 0 additions & 1 deletion gui/control_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2917,7 +2917,6 @@ def drawInteractiveRasterCB(self): # any polygon for now, interactive or from x
stepsize = float(self.rasterStepEdit.text())

while (numsteps_w < MINIMUM_RASTER_SIZE[daq_utils.beamline] and numsteps_h < MINIMUM_RASTER_SIZE[daq_utils.beamline]):
logger.info(f"{numsteps_h=}, {numsteps_w=}, {stepsize=}, {stepsizeXPix=}, {stepsizeYPix=}")
if stepsize == 1:
logger.error("Cannot add raster request, stepsize must be 1 micron with a minimum width or height of 5 cells")
return
Expand Down

0 comments on commit 6f88c7e

Please sign in to comment.