diff --git a/CHANGES.md b/CHANGES.md index 984bec352..23a024b60 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,7 +9,7 @@ ### Issues Fixed/Resolved -* Fixed reading datasource temporal coverage from config file (obsolete format) +* Fixed reading datasource temporal coverage from config file (obsolete format) [#373](https://github.com/CCI-Tools/cate-core/issues/373) * Merged (removed duplicated) meta information in datasource config file [#301](https://github.com/CCI-Tools/cate-core/issues/301) @@ -21,6 +21,8 @@ [#360](https://github.com/CCI-Tools/cate-core/issues/360) * CLI monitor not working [#353](https://github.com/CCI-Tools/cate-core/issues/353) +* GUI-Preferences for data store files do not overwrite conf.py + [#350](https://github.com/CCI-Tools/cate-core/issues/350) * Filter 't0' in the `make_local` step of **SOILMOISTURE** data sources to make the data usable [#326](https://github.com/CCI-Tools/cate-core/issues/326) * Updated information about temporal, spatial coverage and variables of copied from ODP data sources (constraint-aware) diff --git a/cate/webapi/websocket.py b/cate/webapi/websocket.py index e0b2dc396..fcaed301d 100644 --- a/cate/webapi/websocket.py +++ b/cate/webapi/websocket.py @@ -28,7 +28,7 @@ import xarray as xr from cate.conf import conf -from cate.conf.defaults import GLOBAL_CONF_FILE, WEBAPI_USE_WORKSPACE_IMAGERY_CACHE +from cate.conf.defaults import VERSION_CONF_FILE, WEBAPI_USE_WORKSPACE_IMAGERY_CACHE from cate.core.ds import DATA_STORE_REGISTRY, get_data_stores_path, find_data_sources from cate.core.op import OP_REGISTRY from cate.core.workspace import OpKwArgs @@ -62,7 +62,7 @@ def set_config(self, config: dict) -> None: # noinspection PyBroadException conf_text = '' try: - with open(GLOBAL_CONF_FILE, 'r') as fp: + with open(VERSION_CONF_FILE, 'r') as fp: conf_text = fp.read() except: # ok @@ -96,7 +96,7 @@ def set_config(self, config: dict) -> None: # Now join lines back again and write modified config file conf_text = '\n'.join(conf_lines) - with open(GLOBAL_CONF_FILE, 'w') as fp: + with open(VERSION_CONF_FILE, 'w') as fp: fp.write(conf_text) def get_data_stores(self) -> list: