next-exp/IC

Provide a clear message when no input files are found

Open

#868 opened on Mar 26, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (77 forks)auto 404
easygood first issuehelp wanted

Repository metrics

Stars
 (10 stars)
PR merge metrics
 (PR metrics pending)

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