Skip to content

Commit 79977ac

Browse files
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent bc11169 commit 79977ac

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/trodes_to_nwb/convert_optogenetics.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,10 +213,10 @@ def make_virus_injecton(
213213
location=virus_injection_metadata["location"],
214214
ap_in_mm=float(virus_injection_metadata["ap_in_mm"]),
215215
ml_in_mm=float(virus_injection_metadata["ml_in_mm"]),
216-
dv_in_mm=(virus_injection_metadata["dv_in_mm"]),
217-
roll_in_deg=(virus_injection_metadata["roll_in_deg"]),
218-
pitch_in_deg=(virus_injection_metadata["pitch_in_deg"]),
219-
yaw_in_deg=(virus_injection_metadata["yaw_in_deg"]),
216+
dv_in_mm=float(virus_injection_metadata["dv_in_mm"]),
217+
roll_in_deg=float(virus_injection_metadata["roll_in_deg"]),
218+
pitch_in_deg=float(virus_injection_metadata["pitch_in_deg"]),
219+
yaw_in_deg=float(virus_injection_metadata["yaw_in_deg"]),
220220
reference=virus_injection_metadata["reference"],
221221
virus=virus,
222222
volume_in_uL=virus_injection_metadata["volume_in_uL"],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
model_name : LuxX+ 638-200
2-
description : Laser for red-shited optogenetic stimulation
2+
description : Laser for red-shifted optogenetic stimulation
33
manufacturer : MarketTech
44
illumination_type : laser
55
wavelength_range_in_nm : [638.0, 638.0]

0 commit comments

Comments
 (0)