Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fixes #350
Browse files Browse the repository at this point in the history
  • Loading branch information
forman committed Sep 20, 2017
1 parent ace8883 commit 2232c10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions cate/webapi/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 2232c10

Please sign in to comment.