next-exp/IC

Provide a clear message when no input files are found

Open

#868 geöffnet am 26. März 2024

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (77 Forks)auto 404
easygood first issuehelp wanted

Repository-Metriken

Stars
 (10 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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