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",
            "--var_input", "does_not_exist"
        ])
        assert "ValueError: Requested to use .var column does_not_exist as " \
            "a selection of genes to run the PCA on, but the column is " \
            "not available for modality rna" in \
            err.value.stdout.decode('utf-8')