Skip to content

Commit

Permalink
Merge pull request #191 from ttngu207/dev_per_field_processing
Browse files Browse the repository at this point in the history
fix(field_processing): fix key_source to multi-field only
  • Loading branch information
ttngu207 authored Apr 2, 2024
2 parents 0c89ef4 + 8338bc8 commit 170cff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion element_calcium_imaging/field_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def key_source(self):
* scan.ScanInfo.proj("nrois", "nfields")
* imaging.ProcessingParamSet.proj("processing_method")
& "task_mode = 'trigger'"
) & "nfields > 0"
) & "nfields > 1"
ks &= "(processing_method = 'suite2p' AND nrois > 0) OR (processing_method = 'caiman' AND nrois = 0)"
return ks - imaging.Processing.proj()

Expand Down

0 comments on commit 170cff9

Please sign in to comment.