def write_array(path, arr):
    file_ext = op.splitext(path)[1]
    if file_ext == '.npy':
        return np.save(path, arr)
    raise NotImplementedError("The file extension `{}` ".format(file_ext) +
                              "is not currently supported.")


# -----------------------------------------------------------------------------
# Virtual concatenation
# -----------------------------------------------------------------------------
Fetch this repo's forks.
dataset/ETHPy150Open kwikteam/phy/phy/io/array.py/write_array--crossover with--dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/github/forks.py/Forks.get