Describe the bug
When calling the save statement in a model that is not in the workspace, Gama stoped with an index out of bounds exception
To Reproduce
Steps to reproduce the behavior:
- Create a txt file with extension .gaml anywhere in your computer
- copy/pass
global {
init {
save ["toto","tata"] to:"../res.csv" format:"csv";
}
}
experiment xp {}
- WARNING : don't forget to put
model nameofyourfile as header of the file
- Import gaml file but do not copy it in workspace
- Launch the experiment
- See error
Expected behavior
Save statement works fine wherever the gaml file is
Desktop (please complete the following information):
- OS: MacOS and Windows 10
- PC Model: Laptops
- GAMA version: git and 1.9.3
Context
During a training session, I share a gaml files with participants and many of them have the error
Describe the bug
When calling the
savestatement in a model that is not in the workspace, Gama stoped with an index out of bounds exceptionTo Reproduce
Steps to reproduce the behavior:
model nameofyourfileas header of the fileExpected behavior
Save statement works fine wherever the gaml file is
Desktop (please complete the following information):
Context
During a training session, I share a gaml files with participants and many of them have the error