@@ -29,10 +29,6 @@ class SpikeSorting(ReportSnapshotProbe):
2929 :param probe_id: str, UUID of the probe insertion for which to create the plot
3030 :param **kwargs: keyword arguments passed to tasks.Task
3131 """
32- signature = {
33- 'input_files' : [], # see setUp method for declaration of inputs
34- 'output_files' : [] # see setUp method for declaration of inputs
35- }
3632
3733 def _run (self ):
3834 """runs for initiated PID, streams data, destripe and check bad channels"""
@@ -43,7 +39,7 @@ def get_probe_signature(self):
4339 ('spikes.amps.npy' , f'alf/{ self .pname } ' , True ),
4440 ('spikes.depths.npy' , f'alf/{ self .pname } ' , True )]
4541 output_signature = [('spike_sorting_raster.png' , f'snapshot/{ self .pname } ' , True )]
46- self .signature = {'input_files' : input_signature , 'output_file ' : output_signature }
42+ self .signature = {'input_files' : input_signature , 'output_files ' : output_signature }
4743
4844
4945class BadChannelsAp (ReportSnapshotProbe ):
@@ -54,24 +50,19 @@ class BadChannelsAp(ReportSnapshotProbe):
5450 :param probe_id: str, UUID of the probe insertion for which to create the plot
5551 :param **kwargs: keyword arguments passed to tasks.Task
5652 """
57- signature = {
58- 'input_files' : [], # see setUp method for declaration of inputs
59- 'output_files' : [] # see setUp method for declaration of inputs
60- }
61-
62- @staticmethod
63- def get_probe_signature (pname = None ):
64- pname = pname if pname is not None else "probe*"
53+
54+ def get_probe_signature (self ):
55+ pname = self .pname
6556 input_signature = [('*ap.meta' , f'raw_ephys_data/{ pname } ' , True ),
66- ('*ap.ch' , f'raw_ephys_data/{ pname } ' , False ),
67- ('*ap.cbin' , f'raw_ephys_data/{ pname } ' , False )]
57+ ('*ap.ch' , f'raw_ephys_data/{ pname } ' , False )]
58+ # ('*ap.cbin', f'raw_ephys_data/{pname}', False)]
6859 output_signature = [('raw_ephys_bad_channels.png' , f'snapshot/{ pname } ' , True ),
6960 ('raw_ephys_bad_channels_highpass.png' , f'snapshot/{ pname } ' , True ),
7061 ('raw_ephys_bad_channels_highpass.png' , f'snapshot/{ pname } ' , True ),
7162 ('raw_ephys_bad_channels_destripe.png' , f'snapshot/{ pname } ' , True ),
7263 ('raw_ephys_bad_channels_difference.png' , f'snapshot/{ pname } ' , True ),
7364 ]
74- return {'input_files' : input_signature , 'output_files' : output_signature }
65+ self . signature = {'input_files' : input_signature , 'output_files' : output_signature }
7566
7667 def _run (self ):
7768 """runs for initiated PID, streams data, destripe and check bad channels"""
0 commit comments