Skip to content

Commit

Permalink
Make suggested changes in manager
Browse files Browse the repository at this point in the history
  • Loading branch information
noemifrisina committed Jun 21, 2023
1 parent 58c4b40 commit 2647993
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,9 @@ def upload_full(fullmap_path: Path | str = FULLMAP_PATH):
with open(fullmap_path / "currentchip.full", "r") as fh:
f = fh.readlines()

Check warning on line 311 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#L310-L311

Added lines #L310 - L311 were not covered by tests

for _ in range(len(f) // 2):
for i in range(len(f) // 2):

Check warning on line 313 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#L313

Added line #L313 was not covered by tests
pmac_list = []
for _ in range(2):
for j in range(2):

Check warning on line 315 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#L315

Added line #L315 was not covered by tests
pmac_list.append(f.pop(0).rstrip("\n"))
writeline = " ".join(pmac_list)
print(writeline)
Expand Down Expand Up @@ -1240,7 +1240,7 @@ def main(args):

else:
print("Unknown Command")
logger.warning("Unknown Command" % name)
logger.warning("%s Unknown Command" % name)

Check warning on line 1243 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#L1243

Added line #L1243 was not covered by tests


if __name__ == "__main__":
Expand Down

0 comments on commit 2647993

Please sign in to comment.