diff --git a/Decoder.py b/Decoder.py index d63f6c8..4f05875 100644 --- a/Decoder.py +++ b/Decoder.py @@ -76,7 +76,7 @@ class Decoder_main(threading.Thread): :return: ''' self.decoder_class = decoder_class - if decoder_class == 'ssvep' or decoder_class == 'pvs': + if self.decoder_class == 'ssvep' or self.decoder_class == 'pvs': self.n_chan = 8 # self.thread_data_server.interval_inited = False DW_cost_method, self.DW_cost_tv = ast.literal_eval(IniRead('system', 'SSVEP_ThresholdValue')) diff --git a/README.md b/README.md index 4e80830..b2ccc05 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,8 @@ source activate 3in1Py310 python runDecoder.py python datamock.py python ZeroMQClient_mock.py -python system_test.py +python filter_test.py + # 遗留问题 diff --git a/Zmq/dataBuffer.py b/Zmq/dataBuffer.py index 233b72f..4d017f6 100644 --- a/Zmq/dataBuffer.py +++ b/Zmq/dataBuffer.py @@ -21,7 +21,7 @@ class ParadigmRingBuffer: def appendBuffer(self, data): if self.nUpdate == self.n_points: # raise Exception("Buffer is full") - algo_log("Buffer is full", record_once=True) + algo_log("ParadigmRingBuffer is full", record_once=True) n = data.shape[1]