Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path of files #14

Open
benoitgaudou opened this issue Apr 18, 2018 · 2 comments
Open

Path of files #14

benoitgaudou opened this issue Apr 18, 2018 · 2 comments
Labels

Comments

@benoitgaudou
Copy link
Contributor

Right now, we need to give the absolute path to files to the gen_pop operators, e.g. by defining a file and giving to the operator the file.path.

Relative paths should be used instead.

@chapuisk
Copy link
Contributor

In Gen* the official way to proceed is as follow: uses GenstarConfigurationFile to manage input file and attributes, you might setup a base directory using setBaseDirectory(Path f). Hence you will be able to add files using relative file path

@benoitgaudou
Copy link
Contributor Author

Thanks for the tips !
But after thinking a little bit, I think that finally we should give "file" as argument (in the sense of GAML).
This could allow in particular the modeler to specify (in the model) parameters to manage files (e.g. the separator for .csv files ...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants