Skip to content

Commit

Permalink
Forgotten map type
Browse files Browse the repository at this point in the history
  • Loading branch information
noemifrisina committed Nov 30, 2023
1 parent 86ebe39 commit 1933917
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from mx_bluesky.I24.serial import log
from mx_bluesky.I24.serial.fixed_target import i24ssx_Chip_Mapping_py3v1 as mapping
from mx_bluesky.I24.serial.fixed_target import i24ssx_Chip_StartUp_py3v1 as startup
from mx_bluesky.I24.serial.fixed_target.ft_utils import ChipType
from mx_bluesky.I24.serial.fixed_target.ft_utils import ChipType, MappingType
from mx_bluesky.I24.serial.parameters.constants import (
CS_FILES_PATH,
FULLMAP_PATH,
Expand Down Expand Up @@ -171,7 +171,7 @@ def write_parameter_file(param_path: Path | str = PARAM_FILE_PATH_FT):
logger.info("pumpdelay: %s" % pumpdelay)
logger.info("prepumpexptime: %s" % prepumpexptime)
logger.info("detector type: %s" % str(det_type))
if map_type == "2":
if map_type == MappingType.Full:

Check warning on line 174 in src/mx_bluesky/I24/serial/fixed_target/i24ssx_Chip_Manager_py3v1.py

View check run for this annotation

Codecov / codecov/patch

src/mx_bluesky/I24/serial/fixed_target/i24ssx_Chip_Manager_py3v1.py#L173-L174

Added lines #L173 - L174 were not covered by tests
# This step creates some header files (.addr, .spec), containing the parameters,
# that are only needed when full mapping is in use.
logger.debug("Running start up now.")
Expand Down

0 comments on commit 1933917

Please sign in to comment.