Closed libokj closed 3 years ago
Using wildcard after a station-JSON-level UUID (e.g., cn:shanghai:*, which represents okq_gams/data/stations/cn/shanghai.json) doesn't work. This is due to testing for a UUID without the wildcard but with the separator in the get_station_map function: https://github.com/gams/openkongqi/blob/7191464a560535e854754dceb3cc762be0ceec82/openkongqi/stations.py#L28-L35
cn:shanghai:*
okq_gams/data/stations/cn/shanghai.json
get_station_map
Using wildcard after a station-JSON-level UUID (e.g.,
cn:shanghai:*
, which representsokq_gams/data/stations/cn/shanghai.json
) doesn't work. This is due to testing for a UUID without the wildcard but with the separator in theget_station_map
function: https://github.com/gams/openkongqi/blob/7191464a560535e854754dceb3cc762be0ceec82/openkongqi/stations.py#L28-L35