Skip to content

Commit

Permalink
chip_type in [0, 1]
Browse files Browse the repository at this point in the history
  • Loading branch information
noemifrisina committed Jul 12, 2023
1 parent 480fbc7 commit 2617c1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ def load_lite_map(litemap_path: Path | str = LITEMAP_PATH):
}
# fmt: on
chip_type = int(caget(pv.me14e_gp1))
if chip_type == 0 or chip_type == 1:
if chip_type in [0, 1]:

Check warning on line 538 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#L537-L538

Added lines #L537 - L538 were not covered by tests
logger.info("%s Oxford Block Order" % name)
print("Oxford Block Order")
# block_dict = oxford_block_dict
Expand Down

0 comments on commit 2617c1f

Please sign in to comment.