Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Codrea committed Apr 11, 2024
1 parent f0c62f5 commit 6d9ad65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
12 changes: 3 additions & 9 deletions apstools/devices/measComp_usb_ctr_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,13 @@ class MeasCompCtr(Device):
# https://github.com/epics-modules/measComp/blob/master/measCompApp/Db/measCompDevice.template
model_name = Component(EpicsSignalRO, "ModelName", kind="config", string=True)
model_number = Component(EpicsSignalRO, "ModelNumber", kind="config")
firmware_version = Component(
EpicsSignalRO, "FirmwareVersion", kind="config", string=True
)
firmware_version = Component(EpicsSignalRO, "FirmwareVersion", kind="config", string=True)
unique_id = Component(EpicsSignalRO, "UniqueID", kind="config", string=True)
ul_version = Component(EpicsSignalRO, "ULVersion", kind="config", string=True)
driver_version = Component(
EpicsSignalRO, "DriverVersion", kind="config", string=True
)
driver_version = Component(EpicsSignalRO, "DriverVersion", kind="config", string=True)
poll_time_ms = Component(EpicsSignalRO, "PollTimeMS", kind="config")
poll_sleep_ms = Component(EpicsSignalRO, "PollSleepMS", kind="config")
last_error_message = Component(
EpicsSignalRO, "LastErrorMessage", kind="config", string=True
)
last_error_message = Component(EpicsSignalRO, "LastErrorMessage", kind="config", string=True)

# https://github.com/epics-modules/measComp/blob/master/measCompApp/Db/USBCTR.substitutions
long_in = Component(EpicsSignalRO, "Li")
Expand Down
4 changes: 1 addition & 3 deletions apstools/plans/alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,9 +735,7 @@ def _scan(width=1, step_factor=10, num=10, snake=True):
}
_md.update(md or {})

yield from self.tune(
width=width, num=num, peak_factor=peak_factor, md=_md
)
yield from self.tune(width=width, num=num, peak_factor=peak_factor, md=_md)

if not self.tune_ok:
return
Expand Down

0 comments on commit 6d9ad65

Please sign in to comment.