Skip to content

Commit

Permalink
override accepted_list in plane segmentation to use included from fib…
Browse files Browse the repository at this point in the history
…er locations
  • Loading branch information
weiglszonja committed Jul 17, 2024
1 parent 0aaae64 commit 9613489
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def single_wavelength_session_to_nwb(
)

# Add ROI segmentation
accepted_list = [fiber_ind for fiber_ind, fiber in enumerate(fiber_locations_metadata) if fiber["location"] != ""]
accepted_list = [fiber_ind for fiber_ind, fiber in enumerate(fiber_locations_metadata) if fiber["included"]]
roi_source_data = dict(
file_path=str(raw_fiber_photometry_file_path),
sampling_frequency=sampling_frequency,
Expand Down

0 comments on commit 9613489

Please sign in to comment.