Provide a clear message when no input files are found
Open
Nobody has claimed this yet.
easy
good first issue
help wanted
- Dominant language
- Python
- Stars
- 11
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
The error message when the input file list is empty is not very helpful. For instance in hypathia:
[...]
sd = sensor_data(files_in[0], WfType.mcrd)
IndexError: list index out of range
It must be improved. Probably for all cities at once.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the hypathia example and tracing the empty input list at sensor_data(files_in[0], WfType.mcrd). Identify how input files are gathered for each city, then make the empty-list failure report a clear message consistently across all cities.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100