Skip to content

Commit

Permalink
fixed bug with alignment for photometry only sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
pauladkisson committed Dec 1, 2023
1 parent 99d61b2 commit c17c549
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ def session_to_nwb(
source_data["MoseqExtract"]["alignment_path"] = str(alignment_path)
source_data["BehavioralSyllable"]["alignment_path"] = str(alignment_path)
source_data["DepthVideo"]["alignment_path"] = str(alignment_path)
source_data["Optogenetic"]["alignment_path"] = str(alignment_path)
if "reinforcement" in session_metadata.keys():
source_data["Optogenetic"]["alignment_path"] = str(alignment_path)
source_data["BehavioralSyllable"]["file_path"] = str(behavioral_syllable_path)
if experiment_type == "velocity-modulation":
conversion_options["BehavioralSyllable"] = dict(velocity_modulation=True)
Expand Down

0 comments on commit c17c549

Please sign in to comment.