-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
About Co-ModelingThis issue concerns the co-modeling architectureThis issue concerns the co-modeling architectureAbout GAMLThis issue concerns the GAML languageThis issue concerns the GAML language😱 BugThe issue reveals a bug in GAMAThe issue reveals a bug in GAMA
Description
Describe the bug
While co-modeling allows to create experiment inside the global of a different file, it doesn't allow it in another experiment for some reason, even though we can manipulate them.
To Reproduce
Steps to reproduce the behavior:
- After creating a
explorationBatches.gamlfile containing an experiment calledSimpleRun this model:
model batchtests
import "../includes/explorationBatches.gaml" as exploration
global {
init {
create exploration.Simple;
}
}
experiment Batchtests type: gui {
init {
create exploration.Simple;
}
}
- See that the first create statement compiles, but not the second because "No instance of explorationbatches_model available for creating instances of Simple"
- you can replace the second create by an ask statement and see that there is no problem interacting with the "Simple" experiments
Expected behavior
Being able to completely manipulate experiments inside another experiment, including creation
Metadata
Metadata
Assignees
Labels
About Co-ModelingThis issue concerns the co-modeling architectureThis issue concerns the co-modeling architectureAbout GAMLThis issue concerns the GAML languageThis issue concerns the GAML language😱 BugThe issue reveals a bug in GAMAThe issue reveals a bug in GAMA
Type
Projects
Status
Todo