File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -841,6 +841,10 @@ def make(self, key):
841
841
spikeglx_meta_filepath .parent
842
842
)
843
843
spikeglx_recording .validate_file ("ap" )
844
+ run_CatGT = (
845
+ params .pop ("run_CatGT" , True )
846
+ and "_tcat." not in spikeglx_meta_filepath .stem
847
+ )
844
848
845
849
if clustering_method .startswith ("pykilosort" ):
846
850
kilosort_triggering .run_pykilosort (
@@ -861,7 +865,7 @@ def make(self, key):
861
865
ks_output_dir = kilosort_dir ,
862
866
params = params ,
863
867
KS2ver = f'{ Decimal (clustering_method .replace ("kilosort" , "" )):.1f} ' ,
864
- run_CatGT = True ,
868
+ run_CatGT = run_CatGT ,
865
869
)
866
870
run_kilosort .run_modules ()
867
871
elif acq_software == "Open Ephys" :
Original file line number Diff line number Diff line change @@ -773,6 +773,10 @@ def make(self, key):
773
773
spikeglx_meta_filepath .parent
774
774
)
775
775
spikeglx_recording .validate_file ("ap" )
776
+ run_CatGT = (
777
+ params .pop ("run_CatGT" , True )
778
+ and "_tcat." not in spikeglx_meta_filepath .stem
779
+ )
776
780
777
781
if clustering_method .startswith ("pykilosort" ):
778
782
kilosort_triggering .run_pykilosort (
@@ -793,7 +797,7 @@ def make(self, key):
793
797
ks_output_dir = kilosort_dir ,
794
798
params = params ,
795
799
KS2ver = f'{ Decimal (clustering_method .replace ("kilosort" , "" )):.1f} ' ,
796
- run_CatGT = True ,
800
+ run_CatGT = run_CatGT ,
797
801
)
798
802
run_kilosort .run_modules ()
799
803
elif acq_software == "Open Ephys" :
Original file line number Diff line number Diff line change @@ -847,6 +847,10 @@ def make(self, key):
847
847
spikeglx_meta_filepath .parent
848
848
)
849
849
spikeglx_recording .validate_file ("ap" )
850
+ run_CatGT = (
851
+ params .pop ("run_CatGT" , True )
852
+ and "_tcat." not in spikeglx_meta_filepath .stem
853
+ )
850
854
851
855
if clustering_method .startswith ("pykilosort" ):
852
856
kilosort_triggering .run_pykilosort (
@@ -867,7 +871,7 @@ def make(self, key):
867
871
ks_output_dir = kilosort_dir ,
868
872
params = params ,
869
873
KS2ver = f'{ Decimal (clustering_method .replace ("kilosort" , "" )):.1f} ' ,
870
- run_CatGT = True ,
874
+ run_CatGT = run_CatGT ,
871
875
)
872
876
run_kilosort .run_modules ()
873
877
elif acq_software == "Open Ephys" :
You can’t perform that action at this time.
0 commit comments