def test_csv_all_open(): # get list of supported file extensions ext = "csv" files = data_file_dl.get_data_files_ext(ext) for f in files: if len([ex for ex in exclude if f.endswith(ex)]): continue dn, fn = split(f) data = pycorrfit.readfiles.openAny(dn, fn) assert len(data)
def test_fcs_all_open(): # get list of supported file extensions ext = "fcs" files = data_file_dl.get_data_files_ext(ext) for f in files: if [ex for ex in exclude if f.endswith(ex)]: continue dn, fn = split(f) data = pycorrfit.readfiles.open_any(dn, fn) assert data
def test_open(): """ Try to open all files supported files """ # get list of supported file extensions for ext in pycorrfit.readfiles.get_supported_extensions(): files = data_file_dl.get_data_files_ext(ext) for f in files: if len([ex for ex in exclude if f.endswith(ex) ]): continue print(f) dn, fn = split(f) pycorrfit.readfiles.openAny(dn, fn)
def test_open(): """ Try to open all files supported files """ # get list of supported file extensions for ext in pycorrfit.readfiles.get_supported_extensions(): files = data_file_dl.get_data_files_ext(ext) for f in files: if len([ex for ex in exclude if f.endswith(ex)]): continue print(f) dn, fn = split(f) pycorrfit.readfiles.openAny(dn, fn)