The error run.duration#
user: the script can change it: the error says what happened in the experiment’s names, and what to write instead.
Where MIME gives it, with what its message says happened and what its action says to do ({…} is filled in from the experiment):
in
mime/build/_plan.py:what happened: (built where it is given, so not read here)
what to do:
write duration as a time, such as s(3)
in
mime/build/_plan.py:what happened:
duration = {…} holds {…} times, and a run has one lengthwhat to do:
pass one time, such as s(3), or none
in
mime/build/_plan.py:what happened:
duration = {…} is not a finite time above zerowhat to do:
pass a positive duration, such as s(3), or none
in
mime/build/_plan.py:what happened:
duration = {…} s is not a whole number of base steps of {…} swhat to do:
declare a whole number of steps: duration=s({…}) or s({…}), or change dt=
in
mime/cli/__init__.py:what happened:
{…} {…} is not a durationwhat to do:
write it with a unit, 'mime run <folder> {…} 10s --out <dir>'; the forms are {…}
in
mime/cli/__init__.py:what happened:
mime run needs --duration, or --commands: this experiment declares no run lengthwhat to do:
give the simulated time: mime run <folder> --duration <seconds> --out <dir>; or declare it where the experiment is made, Experiment(..., duration=s(3)), and save it again
in
mime/experiment/_experiment.py:what happened:
a run of {…} s is not a whole number of base steps of {…} swhat to do:
run a whole number of steps: run(s({…})) or run(s({…})), or change dt= in Experiment(...)
Reading an error and reaching its full traceback: reading an error. Every code: the index.