コード例 #1
0
 def test_filter_cbv_data(self):
     #init
     self.individual_debug = True
     self.init_test('test_filter_cbv_data')
     test_file    = os.path.join(self.data_dir, 'test_filter_cbv_data.cbv')
     working_file = os.path.join(self.working_dir, 'test_filter_cbv_data.cbv')
     self.copy_file(test_file, working_file)
     filter_cbv_data(working_file, config_file=combivep_settings.COMBIVEP_CENTRAL_TEST_CONFIGURATION_FILE)
コード例 #2
0
ファイル: test_utils.py プロジェクト: jessada/CombiVEP
 def test_filter_cbv_data(self):
     #init
     self.individual_debug = True
     self.init_test('test_filter_cbv_data')
     test_file = os.path.join(self.data_dir, 'test_filter_cbv_data.cbv')
     working_file = os.path.join(self.working_dir, 'test_filter_cbv_data.cbv')
     self.copy_file(test_file, working_file)
     filter_cbv_data(working_file, cfg_file=cbv_const.CBV_SAMPLE_CFG_FILE)
コード例 #3
0
ファイル: report.py プロジェクト: jessada/CombiVEP
def filter_all_cbv():
    filter_cbv_data(os.path.join(cbv_const.CBV_SAMPLE_CBV_DIR,
                                 'training.cbv'))
    filter_cbv_data(os.path.join(cbv_const.CBV_SAMPLE_CBV_DIR,
                                 'test.cbv'))