Skip to content
Snippets Groups Projects
Commit de97754f authored by Maximilian Schmidt's avatar Maximilian Schmidt
Browse files

Add documentation to run_simulation.py, fix typos and bug in run_example.py

parent b6e39fea
No related branches found
No related tags found
1 merge request!1Add all necessary files for the multi-area model
From multiarea_model import MultiAreaModel
from multiarea_model import MultiAreaModel
from start_jobs import start_job
from config import submit_cmd, jobscript_template
......
"""
This script is used to run a simulation from the given command-line
arguments:
1. Label of the simulation
2. Label of the network to be simulated
It initializes the network class and then runs the simulate method of
the simulation class instance.
This script should be used in the `jobscript_template` defined in the
config.py file. See config_template.py.
"""
import json
import nest
import os
......
......@@ -24,7 +24,7 @@ def start_job(label, submit_cmd, jobscript_template, sumatra=False, reason=None,
identified by the label.
submit_cmd : str
Submit command of the queueing system used.
job_script_template : formatted str
jobscript_template : formatted str
Formatted string defining the template for the job script.
Can include the following keyword arguments:
sim_dir : str
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment