next-exp/IC

Provide a clear message when no input files are found

Open

#868 aperta il 26 mar 2024

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Python (77 fork)auto 404
easygood first issuehelp wanted

Metriche repository

Star
 (10 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor