Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude z-stack filepath from suite2p input files list #10

Merged
merged 1 commit into from
Jul 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions element_calcium_imaging/imaging_no_curation.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ def make(self, key):
raw_image_files = (scan.ScanInfo.ScanFile & key).fetch("file_path")
files_to_link = [
find_full_path(get_imaging_root_data_dir(), raw_image_file)
for raw_image_file in raw_image_files
for raw_image_file in raw_image_files if not raw_image_file.endswith("_Z.nd2")
]
image_files = []
for file in files_to_link:
Expand All @@ -561,7 +561,7 @@ def make(self, key):
image_files = (scan.ScanInfo.ScanFile & key).fetch("file_path")
image_files = [
find_full_path(get_imaging_root_data_dir(), image_file)
for image_file in image_files
for image_file in image_files if not image_file.endswith("_Z.nd2")
]

method = (ProcessingParamSet * ProcessingTask & key).fetch1(
Expand Down