phi-grib / flame

Modeling framework for eTRANSAFE project
GNU General Public License v3.0
12 stars 10 forks source link

Config windows path is not resolved correctly #56

Closed BielStela closed 6 years ago

BielStela commented 6 years ago

When config.yml contains a windows path it fails to resolve correctly and the function utils.model_repository_path() returns an invalid path.

In [19]: p = pathlib.Path('C:/Users')
In [20]: p.resolve()
Out[20]: PosixPath('/home/biel/git-repos/phi/Flame/C:/Users')
BielStela commented 6 years ago

this is being fixed by changing the whole model repository definition system. Now a default will be set at the installation.