RakipInitiative / ModelRepository

Joint project of EFSA, Federal Institute For Risk Assessment, DTU and ANSES to create a online model repository.
GNU General Public License v3.0
2 stars 0 forks source link

Runner Bug: FILE Parameters can't be loaded (space in path) in Combined Models #366

Closed schuelet closed 2 years ago

schuelet commented 3 years ago

In order to load FILE Parameters, the path of the source Model (GeneratedResources) is added to the parameter ID. For R, the function "paste" is used: paste( "path/to/file/" , parameter_id )

This however leads to a space character between path and filename (ID). "/path/to/file/ myfile.csv"

This throws an error when using read.csv to read the file later into the R workspace.

schuelet commented 2 years ago

https://github.com/SiLeBAT/FSK-Lab/pull/960