Skip to content
Snippets Groups Projects
Commit cf0e873c authored by lukas leufen's avatar lukas leufen
Browse files

Merge branch...

Merge branch 'lukas_issue347_bug_wrong-time-extend-when-using-lazy-preprocessing' into 'lukas_issue339_feat_filter-with-future-mix'

try out bugfix

See merge request !373
parents 267feb9e b95c65fe
No related branches found
No related tags found
5 merge requests!430update recent developments,!413update release branch,!412Resolve "release v2.0.0",!374Lukas issue339 feat filter with future mix,!373try out bugfix
Pipeline #86293 passed
......@@ -276,6 +276,7 @@ class DataHandlerSingleStation(AbstractDataHandler):
filename = os.path.join(self.lazy_path, hash + ".pickle")
try:
if self.overwrite_lazy_data is True:
os.remove(filename)
raise FileNotFoundError
with open(filename, "rb") as pickle_file:
lazy_data = dill.load(pickle_file)
......
......@@ -43,6 +43,9 @@ def download_join(station_name: Union[str, List[str]], stat_var: dict, station_t
# make sure station_name parameter is a list
station_name = helpers.to_list(station_name)
# also ensure that given data_origin dict is no reference
data_origin = None if data_origin is None else {k: v for (k, v) in data_origin.items()}
# get data connection settings
join_url_base, headers = join_settings(sampling)
......
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