Skip to content

Commit

Permalink
use the correct variable in str format
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Feb 9, 2023
1 parent aed1e2b commit 844fe1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qcodes_contrib_drivers/drivers/Bilt/ITest.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def _set_output_function(self, chan:int,
elif outf=='ramp':
mode = '1'
else:
raise ValueError('Got unexpected output function mode: {}.'.format(mode))
raise ValueError(f'Got unexpected output function mode: {outf}.')

self.write(chan_id + 'trig:input ' + mode)

Expand Down

0 comments on commit 844fe1d

Please sign in to comment.