Exemplo n.º 1
0
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)
Exemplo n.º 2
0
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
Exemplo n.º 3
0
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)
Exemplo n.º 4
0
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)