Skip to content

Commit

Permalink
more yoda / fix test / changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
bimac committed Oct 4, 2024
1 parent 66051a9 commit 8e4cc6b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

8.24.2
------
* fix: create the `raw_ephys_data` folder even if there are no probes (when running behavior sessions on ephys rig)

8.24.2
------
* make Frame2TTL validation more robust
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 @@ -109,12 +109,12 @@ def test_rotary_encoder_mixin(self):
'RotaryEncoder1_3',
'RotaryEncoder1_4',
]
assert {
assert session.device_rotary_encoder.THRESHOLD_EVENTS == {
-35: 'RotaryEncoder1_1',
35: 'RotaryEncoder1_2',
-2: 'RotaryEncoder1_3',
2: 'RotaryEncoder1_4',
} == session.device_rotary_encoder.THRESHOLD_EVENTS
}
with self.assertRaises(ValueError):
RotaryEncoderMixin.start_mixin_rotary_encoder(session)

Expand Down
2 changes: 1 addition & 1 deletion iblrig/test/test_transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def test_behavior_ephys_video_copy(self):
self.assertEqual(set(final_experiment_description['sync'].keys()), {'nidq'})

# Requires recent change to ibllib test fixture code supporting no probe ephys recording files
@unittest.skipIf(version.parse(ibllib.__version__) < version.parse('2.39'))
@unittest.skipIf(version.parse(ibllib.__version__) < version.parse('2.39'), 'ibllib < 2.39')
def test_ephys_no_probe(self):
"""Test copying a session at ephys rig when no probes were used (DAQ only)."""
# First create a behavior session
Expand Down

0 comments on commit 8e4cc6b

Please sign in to comment.