-
Notifications
You must be signed in to change notification settings - Fork 0
ImportExport
Comprised of two files
-
xxxxxxxsim.csv - contains sim country data
Sim csv is created with the following structure (note lowercase name field)
Countries are defined in each row of the CSV.
-
xxxxxxxparam.csv - contains simulation param data
The structure to this is a simple key->value pair.
Parameters used in the java simulation (@parameters) are added as param.key, value
See below:
Exported to KyotoUI/local/ (ignored by git)
Accessed by the Admin->Import Simulations tab.
This page starts by listing all CSV simulations in the directory KyotoUI/admin/csv - the idea is to allow contributions through git.
An X in the ID column of the table with a green install button indicates a CSV is found in the file but not installed in mongo. Clicking install button will copy the CSV into mongo, and set up the appropriate branches for Kyoto to simulate with the data. Changes to the mongo simulation in KyotoUI will not be updating the CSV.
Accessed by the Admin->Export CSV tab.
This page starts by listing all mongo simulations in the directory KyotoUI/local This is ignored by git! You must copy the two files into the admin/csv to add to a git commit
It is important you give the simulation a different name, as that is the test for uniqueness in this scenario.