Skip to content

Commit

Permalink
Fix variable typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-fernandes committed May 21, 2024
1 parent e982d0b commit f5ef5ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def diff_set_and_proc_target_voltages(

status = StatusBase()
status.set_finished()

for i, channel in enumerate(self.get_channels_by_attribute(ChannelAttribute.VTRGT)):
if target_voltages[i] != voltage_target_rbvs[i]:
status &= self.protected_set(channel, target_voltages[i])
Expand All @@ -301,7 +301,7 @@ def set(self, target_voltages: list[float], settle_time = 0) -> SubscriptionStat
A SubscriptionStatus object tracking completion of operations
"""

status = self.diff_set_and_proc_target_voltages(target_voltages_)
status = self.diff_set_and_proc_target_voltages(target_voltages)
settler = StatusBase(settle_time = settle_time)
settler.set_finished()
return status & settler

0 comments on commit f5ef5ba

Please sign in to comment.