Skip to content
Snippets Groups Projects
Commit e126258b authored by v.gramlich1's avatar v.gramlich1
Browse files

Fixed Error in load_stations

parent 789b6562
No related branches found
No related tags found
1 merge request!302Draft: Resolve "Class-based Oversampling technique"
......@@ -12,11 +12,9 @@ import os
def load_stations(external_station_list = None):
import json
if external_station_list is None:
filename = 'supplement/station_list_north_german_plain_rural.json'
else:
filename = external_station_list
external_station_list = 'supplement/station_list_north_german_plain_rural.json'
try:
filename = 'supplement/station_list_north_german_plain_rural.json'
filename = external_station_list
with open(filename, 'r') as jfile:
stations = json.load(jfile)
except FileNotFoundError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment