def METHOD_NAME(init_3dzarr, init_4dzarr):
    # error for 4d zarrs
    zarr_path, data_dir = init_4dzarr
    out_path = data_dir / "fg_ome.zarr"
    with pytest.raises(ValueError, match=r"Conversion only supported for 3D arrays"):
        zarr_to_omezarr(zarr_path=zarr_path, out_path=out_path, res=[1, 1, 1])
    # error if ome already exists
    zarr_path, data_dir = init_3dzarr
    out_path = data_dir / "fg_ome.zarr"
    zarr_to_omezarr(zarr_path=zarr_path, out_path=out_path, res=[1, 1, 1])
    with pytest.raises(
        ValueError,
        match=f"{out_path} already exists, please delete the existing file or change the name of the ome-zarr to be created.",
    ):
        zarr_to_omezarr(zarr_path=zarr_path, out_path=out_path, res=[1, 1, 1])
    shutil.rmtree(out_path)