next-exp / next-exp/IC

Provide a clear message when no input files are found

Open
#868 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.