alan-turing-institute / alan-turing-institute/cloudcasting

Error while validating model using `cloudcasting validate` command

Open
#91 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Hi cloudcasting team,
I encountered an error while validating the model using the provided command. The details are given below

## Error Description

When running the following [command](https://github.com/alan-turing-institute/cloudcasting?tab=readme-ov-file#validating-a-model
) provided in the cloudcasting documentation

cloudcasting validate "validate_config.yml" "model.py"
The above command resulted in an error :
```Usage: cloudcasting validate [OPTIONS]
Got unexpected extra arguments```

![Image](https://github.com/user-attachments/assets/98f5107d-7db8-493f-b3bb-4a33b70f6188)


## Expected behaviour
The model should validate without throwing an extra argument error.

## Fix
Using the `--config-file` and `--model-file` flags for the config and model files, respectively, resolves the error.
#### Modified command
cloudcasting validate --config-file "validate_config.yml" --model-file "model.py"

Contributor guide

Open the contributing guide

Research direction

Start at the README's “Validating a model” section and compare its cloudcasting validate example with the command's --config-file and --model-file options. Update the documented invocation so it uses the working flags, then verify the command no longer reports unexpected extra arguments.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.