`chap validate` command not working

Hi!
In chap documentation, there is a command to check if a csv dataset file is chap compliant : Data Formats - DHIS2 Modeling

But when I run it, here is the output I get :

>>> chap validate --dataset datasets/malaria_dataset-chap-compliant.csv
╭─ Error ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Unknown command "validate". Did you mean "evaluate"? Available commands: evaluate-hpo, evaluate, evaluate2, forecast, multi-forecast, init,    │
│ preference-learn, sanity-check-model, ...                                                                                                      │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

It seems like chap is not recognizing the command.

Is the command still really available please?

Hi Jean!

You need the newest version of chap (1.1.5 or newer) to run the validate command. Which chap version do you have? You can see it by running chap --version

If you have an old version installed with uv, please run ‘uv tool upgrade chap-core --python 3.13’ to ensure you get the newest version

1 Like

Thank you very much, Knut Dagestad Rand!
I was on version 1.1.4.
I updated it and it worked!

2 Likes