def METHOD_NAME(run_component):
    with pytest.raises(subprocess.CalledProcessError) as err:
        run_component([
            "--input", input_path,
            "--output", "output.h5mu",
            "--obsm_output", "X_foo",
            "--num_components", "26"
        ])
        assert "ValueError: Requested to create field pca_loadings in .varm for " \
            "modality rna, but field already exists." in \
            err.value.stdout.decode('utf-8')