Skip to content

Commit

Permalink
fix: remove device_type fields (came from a bad merge)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbirman committed Jan 27, 2025
1 parent 1396653 commit 695085d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions tests/test_inst_acq_compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,10 +740,9 @@ def read_json(filepath: Path) -> dict:
name="Left spout",
side=d.SpoutSide.LEFT,
spout_diameter=1.2,
solenoid_valve=d.Device(device_type="Solenoid", name="Solenoid Left"),
solenoid_valve=d.Device(name="Solenoid Left"),
lick_sensor=d.Device(
name="Janelia_Lick_Detector Left",
device_type="Lick detector",
manufacturer=d.Organization.JANELIA,
),
lick_sensor_type=d.LickSensorType("Capacitive"),
Expand All @@ -752,10 +751,9 @@ def read_json(filepath: Path) -> dict:
name="Right spout",
side=d.SpoutSide.RIGHT,
spout_diameter=1.2,
solenoid_valve=d.Device(device_type="Solenoid", name="Solenoid Right"),
solenoid_valve=d.Device(name="Solenoid Right"),
lick_sensor=d.Device(
name="Janelia_Lick_Detector Right",
device_type="Lick detector",
manufacturer=d.Organization.JANELIA,
),
lick_sensor_type=d.LickSensorType("Capacitive"),
Expand Down
1 change: 0 additions & 1 deletion tests/test_procedures.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ def test_injection_material_check(self):
probes=[
OphysProbe(
ophys_probe=FiberProbe(
device_type="Fiber optic probe",
name="Probe A",
manufacturer=Organization.DORIC,
model="8",
Expand Down

0 comments on commit 695085d

Please sign in to comment.