HSLdevcom / helmet-model-system

European Union Public License 1.2
10 stars 3 forks source link

Point error message to zone_mapping file if appropriate #538

Closed zptro closed 1 year ago

zptro commented 1 year ago

Until now, the error message has always pointed to the data file, even if the zone number error is actually in the zone mapping file. This PR fixes that, so that the error message points to the zone mapping file if the error is to be found there. If the error is indeed in the data file, the zone number is transformed using the zone mapping when applicable.