Skip to content

Commit

Permalink
Chip map workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
noemifrisina committed Jul 10, 2023
1 parent f3afa41 commit da44a3d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/mx_bluesky/I24/serial/write_nexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ def call_nexgen(
prepumpexptime,
det_type,
) = param_file_tuple
currentchipmap = (
"/dls_sw/i24/scripts/fastchips/litemaps/currentchip.map"
if map_type != 0
else "fullchip"
)
if map_type == 0 or int(chip_type) == 6:
currentchipmap = "fullchip"
else:
currentchipmap = "/dls_sw/i24/scripts/fastchips/litemaps/currentchip.map"
elif expt_type == "extruder":
# chip_prog_dict should be None for extruder (passed as input for now)
(
Expand Down

0 comments on commit da44a3d

Please sign in to comment.