Skip to content

Commit

Permalink
Merge pull request #37 from catalystneuro/fix-channel-names
Browse files Browse the repository at this point in the history
Fix air puff and licking channel name
  • Loading branch information
weiglszonja authored Jul 16, 2024
2 parents 1cd1add + 772c285 commit ef4f072
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def session_to_nwb(

has_licking_signal = extra_metadata.pop("has_licking_signal")
if has_licking_signal:
time_series_name_to_channel_id_mapping.update(Licking=["E"])
time_series_name_to_channel_id_mapping.update(Licking=["G"])
has_light_signal = extra_metadata.pop("has_light_signal")
if has_light_signal:
time_series_name_to_channel_id_mapping.update(Light=["D"])
Expand All @@ -130,7 +130,7 @@ def session_to_nwb(
time_series_name_to_channel_id_mapping.update(Reward=["F"])
has_airpuff_signal = extra_metadata.pop("has_airpuff_signal")
if has_airpuff_signal:
time_series_name_to_channel_id_mapping.update(AirPuff=["G"])
time_series_name_to_channel_id_mapping.update(AirPuff=["H"])

for fiber_metadata in fibers_metadata:
fiber_name = fiber_metadata["name"]
Expand Down

0 comments on commit ef4f072

Please sign in to comment.