Skip to content

Commit

Permalink
SIM910 / SIM300
Browse files Browse the repository at this point in the history
  • Loading branch information
bimac committed Oct 4, 2024
1 parent d89bb2c commit 66051a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion iblrig/base_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,7 @@ def __init__(self, *_, remote_rigs=None, **kwargs):
if isinstance(remote_rigs, list):
# For now we flatten to list of remote rig names but could permit list of (name, URI) tuples
remote_rigs = list(filter(None, flatten(remote_rigs)))
all_remote_rigs = net.get_remote_devices(iblrig_settings=kwargs.get('iblrig_settings', None))
all_remote_rigs = net.get_remote_devices(iblrig_settings=kwargs.get('iblrig_settings'))
if not set(remote_rigs).issubset(all_remote_rigs.keys()):
raise ValueError('Selected remote rigs not in remote rigs list')
remote_rigs = {k: v for k, v in all_remote_rigs.items() if k in remote_rigs}
Expand Down
4 changes: 2 additions & 2 deletions iblrig/test/test_hardware_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ def test_rotary_encoder_mixin(self):
"""
session = self.session
RotaryEncoderMixin.init_mixin_rotary_encoder(session)
assert [
assert session.device_rotary_encoder.ENCODER_EVENTS == [
'RotaryEncoder1_1',
'RotaryEncoder1_2',
'RotaryEncoder1_3',
'RotaryEncoder1_4',
] == session.device_rotary_encoder.ENCODER_EVENTS
]
assert {
-35: 'RotaryEncoder1_1',
35: 'RotaryEncoder1_2',
Expand Down

0 comments on commit 66051a9

Please sign in to comment.