def setup_io(): base.features = base.FeatureBroker() file_descr = { "fspike": "{ses_id}{el_id}.sp", "cell": "{ses_id}{el_id}{cell_id}.spt", "dirname": ".", "FS": 5.E3, "n_contacts": 1 } with open(conf_file, 'w') as fp: json.dump(file_descr, fp)
def setup(): "set up test fixtures" base.features = base.FeatureBroker()
def teardown(): "tear down test fixtures" base.features = base.FeatureBroker()