Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperSchippers committed Mar 11, 2024
1 parent c00e4f2 commit 6490817
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pymeasure/instruments/oxfordinstruments/itc503.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@

from .base import OxfordInstrumentsBase


# Setup logging
log = logging.getLogger(__name__)
log.addHandler(logging.NullHandler())
Expand Down Expand Up @@ -540,7 +539,7 @@ def program_sweep(self, temperatures, sweep_time, hold_time, steps=None):
# Pad with zeros to wipe unused steps (total 16) of the sweep program
padding = 16 - temperatures.size
temperatures = np.pad(temperatures, (0, padding), 'constant',
constant_values=temperatures[-1])
constant_values=temperatures[-1])
sweep_time = np.pad(sweep_time, (0, padding), 'constant')
hold_time = np.pad(hold_time, (0, padding), 'constant')

Expand Down

0 comments on commit 6490817

Please sign in to comment.