Skip to content

Commit

Permalink
#50 hotfix API doc black
Browse files Browse the repository at this point in the history
  • Loading branch information
crnbaker committed Jan 24, 2024
1 parent 1884b4c commit a316cac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/spectrumdevice/devices/awg/awg_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class SpectrumAWGCard(
AbstractSpectrumCard[SpectrumAWGAnalogChannelInterface, SpectrumAWGIOLineInterface], AbstractSpectrumAWG
):
"""Class for controlling individual Spectrum AWG cards."""

def _init_analog_channels(self) -> Sequence[SpectrumAWGAnalogChannelInterface]:
num_modules = self.read_spectrum_device_register(SPC_MIINST_MODULES)
num_channels_per_module = self.read_spectrum_device_register(SPC_MIINST_CHPERMODULE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@

class PulseGenerator(PulseGeneratorInterface):
"""Class for controlling pulse generators associated with IO lines (requires firmware option be enabled)."""

def __init__(self, parent: SpectrumIOLineInterface):
self._parent_io_line = parent
# last char of IO line name is IO line chanel number, which is used to set pulse generator number
Expand Down

0 comments on commit a316cac

Please sign in to comment.