StatistikStadtZuerich / BevSzen

population scenarios City of Zurich
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

path problems #6

Closed insilentio closed 2 years ago

insilentio commented 2 years ago

There is an issue with double slashes in the path determinations for files, e.g. with exp_path concatenations like read_csv(paste0(exp_path, "/birth_fertility_future.csv")) This results in errors like '2_Data/4_Rates/middle//birth_fertility_future.csv' (double slash). I am pretty sure to have fixed this same issue some time ago. Before fixing it again I would like to make sure the behaviour is the same on different machines.

insilentio commented 2 years ago

Additionally, no checks for existing folders. Writing to e.g. /middle/... fails.

insilentio commented 2 years ago

Same for issues like this:

image

insilentio commented 2 years ago

issue still valid on 2022-04-06 we need to check for existing folder structure and create it if necessary