From c45ee5d36e44dfd8c655f304a001e91a0d09c53d Mon Sep 17 00:00:00 2001 From: kushalbakshi Date: Mon, 16 Oct 2023 16:39:35 -0500 Subject: [PATCH] Revert old `slice` commit --- element_calcium_imaging/imaging_no_curation.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/element_calcium_imaging/imaging_no_curation.py b/element_calcium_imaging/imaging_no_curation.py index 5ca2478c..c1da8ebf 100644 --- a/element_calcium_imaging/imaging_no_curation.py +++ b/element_calcium_imaging/imaging_no_curation.py @@ -1533,17 +1533,7 @@ def make(self, key): params, method = (ProcessingParamSet * ProcessingTask & key).fetch1( "params", "processing_method" ) - if "indices" in params: - caiman_params = { - "motion": { - "indices": ( - slice(*params["indices"][0]), - slice(*params["indices"][1]), - ) - } - } - else: - caiman_params = params + caiman_params = params sampling_rate = (scan.ScanInfo & key).fetch1("fps") channel = params.get("channel_to_process", 0)